aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-12-28 17:18:38 +0000
committerLuc Teirlinck2005-12-28 17:18:38 +0000
commit79c917052adc8f50b298c973bc6e028d34b1897d (patch)
treee0c54a07f31b9914296a13b27b7d280f01a16df4
parentba45513111086b379127147f66a7e92ec10b68b4 (diff)
downloademacs-79c917052adc8f50b298c973bc6e028d34b1897d.tar.gz
emacs-79c917052adc8f50b298c973bc6e028d34b1897d.zip
(Basic Completion): Update lazy-completion-table examples for removal
of ARGS argument.
-rw-r--r--lispref/minibuf.texi9
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}.
777It is done by calling @var{fun} with no arguments. The 777It is done by calling @var{fun} with no arguments. The
778value @var{fun} returns becomes the permanent value of @var{var}. 778value @var{fun} returns becomes the permanent value of @var{var}.
779 779
780Here are two examples of use: 780Here 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
954feedback. This is not needed in the minibuffer; for minibuffer 951feedback. This is not needed in the minibuffer; for minibuffer
955completion, you can pass @code{nil}. 952completion, you can pass @code{nil}.
956 953
957This function is called by @code{minibuffer-completion-help}. The 954This function is called by @code{minibuffer-completion-help}. The
958most common way to use it is together with 955most 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