Commit ece9f5cc authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Basic Completion): Completion alists are risky.

parent 59e58738
...@@ -583,6 +583,10 @@ themselves to do with minibuffers. We describe them in this chapter ...@@ -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 so as to keep them near the higher-level completion features that do
use the minibuffer. 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 @defun try-completion string collection &optional predicate
This function returns the longest common substring of all possible This function returns the longest common substring of all possible
completions of @var{string} in @var{collection}. The value of completions of @var{string} in @var{collection}. The value of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment