diff doc/lispintro/emacs-lisp-intro.texi @ 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 985bbb7a574c
children 3c3a05682534
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