From: Richard M. Stallman Date: Thu, 2 Feb 2006 16:34:58 +0000 (+0000) Subject: (Basic Completion): Completion alists are risky. X-Git-Tag: emacs-pretest-22.0.90~4405 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ece9f5cc239e513a2e23ad453cd780eb36833780;p=emacs.git (Basic Completion): Completion alists are risky. --- 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