diff options
| author | Stefan Monnier | 2008-04-19 19:35:46 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-04-19 19:35:46 +0000 |
| commit | f51f97dde36cbcfb1848bb597088412f64a77356 (patch) | |
| tree | 064333bdf7208d3d38b16142bfd8b930c9acf6e4 | |
| parent | e80591ba8dbd3521605c9adb4c4bbae7e35e5aa8 (diff) | |
| download | emacs-f51f97dde36cbcfb1848bb597088412f64a77356.tar.gz emacs-f51f97dde36cbcfb1848bb597088412f64a77356.zip | |
Update example of complex interactive spec.
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 5 |
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 | |||
| 17771 | This is an interface to the function `load'." | 17771 | This is an interface to the function `load'." |
| 17772 | (interactive | 17772 | (interactive |
| 17773 | (list (completing-read "Load library: " | 17773 | (list (completing-read "Load library: " |
| 17774 | 'locate-file-completion | 17774 | (apply-partially 'locate-file-completion-table |
| 17775 | (cons load-path (get-load-suffixes))))) | 17775 | load-path |
| 17776 | (get-load-suffixes))))) | ||
| 17776 | (load library)) | 17777 | (load library)) |
| 17777 | @end group | 17778 | @end group |
| 17778 | @end smallexample | 17779 | @end smallexample |