diff options
| author | Luc Teirlinck | 2005-12-28 17:18:38 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-12-28 17:18:38 +0000 |
| commit | 79c917052adc8f50b298c973bc6e028d34b1897d (patch) | |
| tree | e0c54a07f31b9914296a13b27b7d280f01a16df4 | |
| parent | ba45513111086b379127147f66a7e92ec10b68b4 (diff) | |
| download | emacs-79c917052adc8f50b298c973bc6e028d34b1897d.tar.gz emacs-79c917052adc8f50b298c973bc6e028d34b1897d.zip | |
(Basic Completion): Update lazy-completion-table examples for removal
of ARGS argument.
| -rw-r--r-- | lispref/minibuf.texi | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi index 25e06d7a45b..6f98785f69f 100644 --- a/lispref/minibuf.texi +++ b/lispref/minibuf.texi | |||
| @@ -777,13 +777,10 @@ proper value is done the first time you do completion using @var{var}. | |||
| 777 | It is done by calling @var{fun} with no arguments. The | 777 | It is done by calling @var{fun} with no arguments. The |
| 778 | value @var{fun} returns becomes the permanent value of @var{var}. | 778 | value @var{fun} returns becomes the permanent value of @var{var}. |
| 779 | 779 | ||
| 780 | Here are two examples of use: | 780 | Here is an example of use: |
| 781 | 781 | ||
| 782 | @smallexample | 782 | @smallexample |
| 783 | (defvar foo (lazy-completion-table foo make-my-alist 'global)) | 783 | (defvar foo (lazy-completion-table foo make-my-alist)) |
| 784 | |||
| 785 | (make-local-variable 'bar) | ||
| 786 | (setq bar (lazy-completion-table foo make-my-alist 'local) | ||
| 787 | @end smallexample | 784 | @end smallexample |
| 788 | @end defmac | 785 | @end defmac |
| 789 | 786 | ||
| @@ -954,7 +951,7 @@ uses this to highlight text in the completion list for better visual | |||
| 954 | feedback. This is not needed in the minibuffer; for minibuffer | 951 | feedback. This is not needed in the minibuffer; for minibuffer |
| 955 | completion, you can pass @code{nil}. | 952 | completion, you can pass @code{nil}. |
| 956 | 953 | ||
| 957 | This function is called by @code{minibuffer-completion-help}. The | 954 | This function is called by @code{minibuffer-completion-help}. The |
| 958 | most common way to use it is together with | 955 | most common way to use it is together with |
| 959 | @code{with-output-to-temp-buffer}, like this: | 956 | @code{with-output-to-temp-buffer}, like this: |
| 960 | 957 | ||