summaryrefslogtreecommitdiff
path: root/doc/lispintro
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-04-19 19:35:46 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-04-19 19:35:46 +0000
commitf51f97dde36cbcfb1848bb597088412f64a77356 (patch)
tree064333bdf7208d3d38b16142bfd8b930c9acf6e4 /doc/lispintro
parente80591ba8dbd3521605c9adb4c4bbae7e35e5aa8 (diff)
downloademacs-f51f97dde36cbcfb1848bb597088412f64a77356.tar.gz
Update example of complex interactive spec.
Diffstat (limited to 'doc/lispintro')
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index f3e3131339e..225245907a1 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -17771,8 +17771,9 @@ Incidentally, @code{load-library} is an interactive interface to the
This is an interface to the function `load'."
(interactive
(list (completing-read "Load library: "
- 'locate-file-completion
- (cons load-path (get-load-suffixes)))))
+ (apply-partially 'locate-file-completion-table
+ load-path
+ (get-load-suffixes)))))
(load library))
@end group
@end smallexample