# HG changeset patch # User Richard M. Stallman # Date 1138898098 0 # Node ID 488f65041f047a2e24671852a7c945081aad00b4 # Parent 72c2736c8ab3c0cff6f063eaeaba839fe1e07e88 (Basic Completion): Completion alists are risky. diff -r 72c2736c8ab3 -r 488f65041f04 lispref/minibuf.texi --- 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