changeset 68577:488f65041f04

(Basic Completion): Completion alists are risky.
author Richard M. Stallman <rms@gnu.org>
date Thu, 02 Feb 2006 16:34:58 +0000
parents 72c2736c8ab3
children 2b5f6787aa4f
files lispref/minibuf.texi
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/minibuf.texi	Thu Feb 02 16:34:29 2006 +0000
+++ b/lispref/minibuf.texi	Thu Feb 02 16:34:58 2006 +0000
@@ -583,6 +583,10 @@
 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