diff options
| author | Lars Ingebrigtsen | 2016-04-30 20:31:39 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-05-01 19:27:14 +0200 |
| commit | afb22577de2f06542780870a0431d0ee533eb3ac (patch) | |
| tree | ced06cbcd0089b50b6182cfc0876e3107b9e8ef7 | |
| parent | f3f45020eb8347f8100a63635c6db275836c9b74 (diff) | |
| download | emacs-afb22577de2f06542780870a0431d0ee533eb3ac.tar.gz emacs-afb22577de2f06542780870a0431d0ee533eb3ac.zip | |
completion-table-with-predicate doc string fix
* lisp/minibuffer.el (completion-table-with-predicate): t ->
non-nil in the doc string (bug#20460).
(cherry picked from commit b6a4d162208f239bc7804696d611ae52c686f138)
| -rw-r--r-- | lisp/minibuffer.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 714ca851eb0..1ee05d32de5 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -374,10 +374,10 @@ only if the argument is an element of TABLE which should be | |||
| 374 | considered for completion. STRING, PRED2, and ACTION are the | 374 | considered for completion. STRING, PRED2, and ACTION are the |
| 375 | usual arguments to completion tables, as described in | 375 | usual arguments to completion tables, as described in |
| 376 | `try-completion', `all-completions', and `test-completion'. If | 376 | `try-completion', `all-completions', and `test-completion'. If |
| 377 | STRICT is t, the predicate always applies; if nil it only applies | 377 | STRICT is non-nil, the predicate always applies; if nil it only |
| 378 | if it does not reduce the set of possible completions to nothing. | 378 | applies if it does not reduce the set of possible completions to |
| 379 | Note: TABLE needs to be a proper completion table which obeys | 379 | nothing. Note: TABLE needs to be a proper completion table which |
| 380 | predicates." | 380 | obeys predicates." |
| 381 | (cond | 381 | (cond |
| 382 | ((and (not strict) (eq action 'lambda)) | 382 | ((and (not strict) (eq action 'lambda)) |
| 383 | ;; Ignore pred1 since it doesn't really have to apply anyway. | 383 | ;; Ignore pred1 since it doesn't really have to apply anyway. |