aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-02-02 16:34:58 +0000
committerRichard M. Stallman2006-02-02 16:34:58 +0000
commitece9f5cc239e513a2e23ad453cd780eb36833780 (patch)
treea8d7213a73f52181e1e154210b8047ff5480fc3a
parent59e58738591d9091d52fdb4af53fe081d89257c3 (diff)
downloademacs-ece9f5cc239e513a2e23ad453cd780eb36833780.tar.gz
emacs-ece9f5cc239e513a2e23ad453cd780eb36833780.zip
(Basic Completion): Completion alists are risky.
-rw-r--r--lispref/minibuf.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi
index 6f98785f69f..c0990bae3ee 100644
--- a/lispref/minibuf.texi
+++ b/lispref/minibuf.texi
@@ -583,6 +583,10 @@ themselves to do with minibuffers. We describe them in this chapter
583so as to keep them near the higher-level completion features that do 583so as to keep them near the higher-level completion features that do
584use the minibuffer. 584use the minibuffer.
585 585
586 If you store a completion alist in a variable, you should mark the
587variable as ``risky'' with a non-@code{nil}
588@code{risky-local-variable} property.
589
586@defun try-completion string collection &optional predicate 590@defun try-completion string collection &optional predicate
587This function returns the longest common substring of all possible 591This function returns the longest common substring of all possible
588completions of @var{string} in @var{collection}. The value of 592completions of @var{string} in @var{collection}. The value of