From 79c917052adc8f50b298c973bc6e028d34b1897d Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Wed, 28 Dec 2005 17:18:38 +0000 Subject: [PATCH] (Basic Completion): Update lazy-completion-table examples for removal of ARGS argument. --- lispref/minibuf.texi | 9 +++------ 1 file 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}. 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: -- 2.39.5