diff options
| author | Melissa Weisshaus | 1995-06-16 19:17:59 +0000 |
|---|---|---|
| committer | Melissa Weisshaus | 1995-06-16 19:17:59 +0000 |
| commit | bda144f49f2ba0f467054530a21e39ec7b7575fa (patch) | |
| tree | d9656e42c1146edc1ebab8152375ee8772b44944 /lispref/loading.texi | |
| parent | b7011339a202da06ec2ba58b11618692ea8f0326 (diff) | |
| download | emacs-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.texi | 11 |
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 | |||
| 157 | several directories to the front of your default @code{load-path}: | 157 | several 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 | |||
| 251 | keymap. Various parts of Emacs need to know this information without | 253 | keymap. Various parts of Emacs need to know this information without |
| 252 | loading the real definition. | 254 | loading the real definition. |
| 253 | 255 | ||
| 256 | An autoloaded keymap loads automatically during key lookup when a prefix | ||
| 257 | key's binding is the symbol @var{function}. Autoloading does not occur | ||
| 258 | for other kinds of access to the keymap. In particular, it does not | ||
| 259 | happen when a Lisp program gets the keymap from the value of a variable | ||
| 260 | and calls @code{define-key}; not even if the variable name is the same | ||
| 261 | symbol @var{function}. | ||
| 262 | |||
| 254 | @cindex function cell in autoload | 263 | @cindex function cell in autoload |
| 255 | If @var{function} already has a non-void function definition that is not | 264 | If @var{function} already has a non-void function definition that is not |
| 256 | an autoload object, @code{autoload} does nothing and returns @code{nil}. | 265 | an 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: | |||
| 264 | For example, | 273 | For 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 |