From: Stefan Monnier Date: Sat, 19 Apr 2008 19:35:46 +0000 (+0000) Subject: Update example of complex interactive spec. X-Git-Tag: emacs-pretest-23.0.90~6183 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f51f97dde36cbcfb1848bb597088412f64a77356;p=emacs.git Update example of complex interactive spec. --- 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