aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/loading.texi
diff options
context:
space:
mode:
authorMelissa Weisshaus1995-06-16 19:17:59 +0000
committerMelissa Weisshaus1995-06-16 19:17:59 +0000
commitbda144f49f2ba0f467054530a21e39ec7b7575fa (patch)
treed9656e42c1146edc1ebab8152375ee8772b44944 /lispref/loading.texi
parentb7011339a202da06ec2ba58b11618692ea8f0326 (diff)
downloademacs-bda144f49f2ba0f467054530a21e39ec7b7575fa.tar.gz
emacs-bda144f49f2ba0f467054530a21e39ec7b7575fa.zip
updates for version 19.29 made by melissa; also needed to check out files
so two-volume formatting could be accomplished.
Diffstat (limited to 'lispref/loading.texi')
-rw-r--r--lispref/loading.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/lispref/loading.texi b/lispref/loading.texi
index 2694dc44a19..4aec67475d6 100644
--- a/lispref/loading.texi
+++ b/lispref/loading.texi
@@ -157,11 +157,13 @@ Here is an example of code you can place in a @file{.emacs} file to add
157several directories to the front of your default @code{load-path}: 157several directories to the front of your default @code{load-path}:
158 158
159@smallexample 159@smallexample
160@group
160(setq load-path 161(setq load-path
161 (append (list nil "/user/bil/emacs" 162 (append (list nil "/user/bil/emacs"
162 "/usr/local/lisplib" 163 "/usr/local/lisplib"
163 (expand-file-name "~/emacs")) 164 (expand-file-name "~/emacs"))
164 load-path)) 165 load-path))
166@end group
165@end smallexample 167@end smallexample
166 168
167@c Wordy to rid us of an overfull hbox. --rjc 15mar92 169@c Wordy to rid us of an overfull hbox. --rjc 15mar92
@@ -251,6 +253,13 @@ Specify @var{type} as @code{keymap} if @var{function} is really a
251keymap. Various parts of Emacs need to know this information without 253keymap. Various parts of Emacs need to know this information without
252loading the real definition. 254loading the real definition.
253 255
256An autoloaded keymap loads automatically during key lookup when a prefix
257key's binding is the symbol @var{function}. Autoloading does not occur
258for other kinds of access to the keymap. In particular, it does not
259happen when a Lisp program gets the keymap from the value of a variable
260and calls @code{define-key}; not even if the variable name is the same
261symbol @var{function}.
262
254@cindex function cell in autoload 263@cindex function cell in autoload
255If @var{function} already has a non-void function definition that is not 264If @var{function} already has a non-void function definition that is not
256an autoload object, @code{autoload} does nothing and returns @code{nil}. 265an autoload object, @code{autoload} does nothing and returns @code{nil}.
@@ -264,8 +273,10 @@ object, then it is defined as an autoload object like this:
264For example, 273For example,
265 274
266@example 275@example
276@group
267(symbol-function 'run-prolog) 277(symbol-function 'run-prolog)
268 @result{} (autoload "prolog" 169681 t nil) 278 @result{} (autoload "prolog" 169681 t nil)
279@end group
269@end example 280@end example
270 281
271@noindent 282@noindent