changeset 67881:d9ec339158fe

(Basic Completion): Update lazy-completion-table examples for removal of ARGS argument.
author Luc Teirlinck <teirllm@auburn.edu>
date Wed, 28 Dec 2005 17:18:38 +0000
parents f13a9482f74b
children 59639203f09a
files lispref/minibuf.texi
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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: