diff options
| author | Richard M. Stallman | 2006-02-02 16:34:58 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-02-02 16:34:58 +0000 |
| commit | ece9f5cc239e513a2e23ad453cd780eb36833780 (patch) | |
| tree | a8d7213a73f52181e1e154210b8047ff5480fc3a | |
| parent | 59e58738591d9091d52fdb4af53fe081d89257c3 (diff) | |
| download | emacs-ece9f5cc239e513a2e23ad453cd780eb36833780.tar.gz emacs-ece9f5cc239e513a2e23ad453cd780eb36833780.zip | |
(Basic Completion): Completion alists are risky.
| -rw-r--r-- | lispref/minibuf.texi | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
| 583 | so as to keep them near the higher-level completion features that do | 583 | so as to keep them near the higher-level completion features that do |
| 584 | use the minibuffer. | 584 | use the minibuffer. |
| 585 | 585 | ||
| 586 | If you store a completion alist in a variable, you should mark the | ||
| 587 | variable as ``risky'' with a non-@code{nil} | ||
| 588 | @code{risky-local-variable} property. | ||
| 589 | |||
| 586 | @defun try-completion string collection &optional predicate | 590 | @defun try-completion string collection &optional predicate |
| 587 | This function returns the longest common substring of all possible | 591 | This function returns the longest common substring of all possible |
| 588 | completions of @var{string} in @var{collection}. The value of | 592 | completions of @var{string} in @var{collection}. The value of |