diff options
Diffstat (limited to 'doc/lispref/loading.texi')
| -rw-r--r-- | doc/lispref/loading.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi index 22f0dde593a..8c6aeb04721 100644 --- a/doc/lispref/loading.texi +++ b/doc/lispref/loading.texi | |||
| @@ -510,6 +510,9 @@ specification is not given here; it's not needed unless the user | |||
| 510 | actually calls @var{function}, and when that happens, it's time to load | 510 | actually calls @var{function}, and when that happens, it's time to load |
| 511 | the real definition. | 511 | the real definition. |
| 512 | 512 | ||
| 513 | If @var{interactive} is a list, it is interpreted as a list of modes | ||
| 514 | this command is applicable for. | ||
| 515 | |||
| 513 | You can autoload macros and keymaps as well as ordinary functions. | 516 | You can autoload macros and keymaps as well as ordinary functions. |
| 514 | Specify @var{type} as @code{macro} if @var{function} is really a macro. | 517 | Specify @var{type} as @code{macro} if @var{function} is really a macro. |
| 515 | Specify @var{type} as @code{keymap} if @var{function} is really a | 518 | Specify @var{type} as @code{keymap} if @var{function} is really a |
| @@ -1125,7 +1128,7 @@ You don't need to give a directory or extension in the file name | |||
| 1125 | @var{library}. Normally, you just give a bare file name, like this: | 1128 | @var{library}. Normally, you just give a bare file name, like this: |
| 1126 | 1129 | ||
| 1127 | @example | 1130 | @example |
| 1128 | (with-eval-after-load "edebug" (def-edebug-spec c-point t)) | 1131 | (with-eval-after-load "js" (define-key js-mode-map "\C-c\C-c" 'js-eval)) |
| 1129 | @end example | 1132 | @end example |
| 1130 | 1133 | ||
| 1131 | To restrict which files can trigger the evaluation, include a | 1134 | To restrict which files can trigger the evaluation, include a |