aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/loading.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref/loading.texi')
-rw-r--r--doc/lispref/loading.texi5
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
510actually calls @var{function}, and when that happens, it's time to load 510actually calls @var{function}, and when that happens, it's time to load
511the real definition. 511the real definition.
512 512
513If @var{interactive} is a list, it is interpreted as a list of modes
514this command is applicable for.
515
513You can autoload macros and keymaps as well as ordinary functions. 516You can autoload macros and keymaps as well as ordinary functions.
514Specify @var{type} as @code{macro} if @var{function} is really a macro. 517Specify @var{type} as @code{macro} if @var{function} is really a macro.
515Specify @var{type} as @code{keymap} if @var{function} is really a 518Specify @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
1131To restrict which files can trigger the evaluation, include a 1134To restrict which files can trigger the evaluation, include a