# HG changeset patch # User Luc Teirlinck # Date 1135790318 0 # Node ID d9ec339158fe36323fc9d192778b7b7af69603bb # Parent f13a9482f74b3a18a388ca1b7d5ffc75a93b66e3 (Basic Completion): Update lazy-completion-table examples for removal of ARGS argument. diff -r f13a9482f74b -r d9ec339158fe lispref/minibuf.texi --- a/lispref/minibuf.texi Wed Dec 28 17:14:45 2005 +0000 +++ b/lispref/minibuf.texi Wed Dec 28 17:18:38 2005 +0000 @@ -777,13 +777,10 @@ 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 @@ 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: