]> git.eshelyaron.com Git - emacs.git/commitdiff
(Basic Completion): Completion alists are risky.
authorRichard M. Stallman <rms@gnu.org>
Thu, 2 Feb 2006 16:34:58 +0000 (16:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 2 Feb 2006 16:34:58 +0000 (16:34 +0000)
lispref/minibuf.texi

index 6f98785f69ffde0b31830f18832d2bf6ec165fc5..c0990bae3ee01ddcc2ce64e431eb49817a6f24cb 100644 (file)
@@ -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