comparison man/lispref/loading.texi @ 5791:9fae6227ede5

Silence texinfo 5.2 warnings, primarily by adding next, prev, and up pointers to all nodes. See xemacs-patches message with ID <5315f7bf.sHpFD7lXYR05GH6E%james@xemacs.org>.
author Jerry James <james@xemacs.org>
date Thu, 27 Mar 2014 08:59:03 -0600
parents 576fb035e263
children 8ef8d5e7c920
comparison
equal deleted inserted replaced
5790:dcf9067f26bb 5791:9fae6227ede5
41 * Unloading:: How to ``unload'' a library that was loaded. 41 * Unloading:: How to ``unload'' a library that was loaded.
42 * Hooks for Loading:: Providing code to be run when 42 * Hooks for Loading:: Providing code to be run when
43 particular libraries are loaded. 43 particular libraries are loaded.
44 @end menu 44 @end menu
45 45
46 @node How Programs Do Loading 46 @node How Programs Do Loading, Autoload, Loading, Loading
47 @section How Programs Do Loading 47 @section How Programs Do Loading
48 48
49 XEmacs Lisp has several interfaces for loading. For example, 49 XEmacs Lisp has several interfaces for loading. For example,
50 @code{autoload} creates a placeholder object for a function in a file; 50 @code{autoload} creates a placeholder object for a function in a file;
51 trying to call the autoloading function loads the file to get the 51 trying to call the autoloading function loads the file to get the
272 out-of-date @samp{.elc} files do not make it mess things up.) 272 out-of-date @samp{.elc} files do not make it mess things up.)
273 @end defopt 273 @end defopt
274 274
275 To learn how @code{load} is used to build XEmacs, see @ref{Building XEmacs}. 275 To learn how @code{load} is used to build XEmacs, see @ref{Building XEmacs}.
276 276
277 @node Autoload 277 @node Autoload, Repeated Loading, How Programs Do Loading, Loading
278 @section Autoload 278 @section Autoload
279 @cindex autoload 279 @cindex autoload
280 280
281 The @dfn{autoload} facility allows you to make a function or macro 281 The @dfn{autoload} facility allows you to make a function or macro
282 known in Lisp, but put off loading the file that defines it. The first 282 known in Lisp, but put off loading the file that defines it. The first
415 The backslash and newline immediately following the double-quote are a 415 The backslash and newline immediately following the double-quote are a
416 convention used only in the preloaded Lisp files such as 416 convention used only in the preloaded Lisp files such as
417 @file{loaddefs.el}; they tell @code{make-docfile} to put the 417 @file{loaddefs.el}; they tell @code{make-docfile} to put the
418 documentation string in the @file{DOC} file. @xref{Building XEmacs}. 418 documentation string in the @file{DOC} file. @xref{Building XEmacs}.
419 419
420 @node Repeated Loading 420 @node Repeated Loading, Named Features, Autoload, Loading
421 @section Repeated Loading 421 @section Repeated Loading
422 @cindex repeated loading 422 @cindex repeated loading
423 423
424 You may load one file more than once in an Emacs session. For 424 You may load one file more than once in an Emacs session. For
425 example, after you have rewritten and reinstalled a function definition 425 example, after you have rewritten and reinstalled a function definition
478 use @code{featurep} to test whether the library has been loaded. 478 use @code{featurep} to test whether the library has been loaded.
479 @ifinfo 479 @ifinfo
480 @xref{Named Features}. 480 @xref{Named Features}.
481 @end ifinfo 481 @end ifinfo
482 482
483 @node Named Features 483 @node Named Features, Unloading, Repeated Loading, Loading
484 @section Features 484 @section Features
485 @cindex features 485 @cindex features
486 @cindex requiring features 486 @cindex requiring features
487 @cindex providing features 487 @cindex providing features
488 488
658 loaded in the current XEmacs session. Each symbol was put in this list 658 loaded in the current XEmacs session. Each symbol was put in this list
659 with a call to @code{provide}. The order of the elements in the 659 with a call to @code{provide}. The order of the elements in the
660 @code{features} list is not significant. 660 @code{features} list is not significant.
661 @end defvar 661 @end defvar
662 662
663 @node Unloading 663 @node Unloading, Hooks for Loading, Named Features, Loading
664 @section Unloading 664 @section Unloading
665 @cindex unloading 665 @cindex unloading
666 666
667 @c Emacs 19 feature 667 @c Emacs 19 feature
668 You can discard the functions and variables loaded by a library to 668 You can discard the functions and variables loaded by a library to
715 715
716 The command @code{eval-region} updates @code{load-history}, but does so 716 The command @code{eval-region} updates @code{load-history}, but does so
717 by adding the symbols defined to the element for the file being visited, 717 by adding the symbols defined to the element for the file being visited,
718 rather than replacing that element. 718 rather than replacing that element.
719 719
720 @node Hooks for Loading 720 @node Hooks for Loading, , Unloading, Loading
721 @section Hooks for Loading 721 @section Hooks for Loading
722 @cindex loading hooks 722 @cindex loading hooks
723 @cindex hooks for loading 723 @cindex hooks for loading
724 724
725 @ignore @c Not currently in XEmacs. JWZ hates it. 725 @ignore @c Not currently in XEmacs. JWZ hates it.