changeset 94188:6daf76264055

Update example of complex interactive spec.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 19 Apr 2008 19:35:46 +0000
parents 72eb648a4690
children c1b4e330f616
files doc/lispintro/emacs-lisp-intro.texi
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispintro/emacs-lisp-intro.texi	Sat Apr 19 19:35:09 2008 +0000
+++ b/doc/lispintro/emacs-lisp-intro.texi	Sat Apr 19 19:35:46 2008 +0000
@@ -17771,8 +17771,9 @@
 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