summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-02-02 16:34:58 +0000
committerRichard M. Stallman <rms@gnu.org>2006-02-02 16:34:58 +0000
commit8ba80fa7fef2e917797150eb603024aab6fce1d7 (patch)
treeaee89057fd52a379c03b321dcf86afc8dd9184f2 /lispref
parent8b1a44c844be484201e58d18ac7c5161fd93e81a (diff)
downloademacs-8ba80fa7fef2e917797150eb603024aab6fce1d7.tar.gz
(Basic Completion): Completion alists are risky.
Diffstat (limited to 'lispref')
-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
so as to keep them near the higher-level completion features that do
use the minibuffer.
+ If you store a completion alist in a variable, you should mark the
+variable as ``risky'' with a non-@code{nil}
+@code{risky-local-variable} property.
+
@defun try-completion string collection &optional predicate
This function returns the longest common substring of all possible
completions of @var{string} in @var{collection}. The value of