mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-15 17:00:26 +00:00
(Basic Completion): Update lazy-completion-table examples for removal
of ARGS argument.
This commit is contained in:
parent
ba45513111
commit
79c917052a
@ -777,13 +777,10 @@ proper value is done the first time you do completion using @var{var}.
|
||||
It is done by calling @var{fun} with no arguments. The
|
||||
value @var{fun} returns becomes the permanent value of @var{var}.
|
||||
|
||||
Here are two examples of use:
|
||||
Here is an example of use:
|
||||
|
||||
@smallexample
|
||||
(defvar foo (lazy-completion-table foo make-my-alist 'global))
|
||||
|
||||
(make-local-variable 'bar)
|
||||
(setq bar (lazy-completion-table foo make-my-alist 'local)
|
||||
(defvar foo (lazy-completion-table foo make-my-alist))
|
||||
@end smallexample
|
||||
@end defmac
|
||||
|
||||
@ -954,7 +951,7 @@ uses this to highlight text in the completion list for better visual
|
||||
feedback. This is not needed in the minibuffer; for minibuffer
|
||||
completion, you can pass @code{nil}.
|
||||
|
||||
This function is called by @code{minibuffer-completion-help}. The
|
||||
This function is called by @code{minibuffer-completion-help}. The
|
||||
most common way to use it is together with
|
||||
@code{with-output-to-temp-buffer}, like this:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user