]> git.eshelyaron.com Git - emacs.git/commitdiff
Update example of complex interactive spec.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 19 Apr 2008 19:35:46 +0000 (19:35 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 19 Apr 2008 19:35:46 +0000 (19:35 +0000)
doc/lispintro/emacs-lisp-intro.texi

index f3e3131339ef704ae6b2b45234a8306b6a222b28..225245907a1c8043445d4a54a599608bc98b260f 100644 (file)
@@ -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