aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 20:31:39 +0200
committerLars Ingebrigtsen2016-05-01 19:27:14 +0200
commitafb22577de2f06542780870a0431d0ee533eb3ac (patch)
treeced06cbcd0089b50b6182cfc0876e3107b9e8ef7
parentf3f45020eb8347f8100a63635c6db275836c9b74 (diff)
downloademacs-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.el8
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
374considered for completion. STRING, PRED2, and ACTION are the 374considered for completion. STRING, PRED2, and ACTION are the
375usual arguments to completion tables, as described in 375usual 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
377STRICT is t, the predicate always applies; if nil it only applies 377STRICT is non-nil, the predicate always applies; if nil it only
378if it does not reduce the set of possible completions to nothing. 378applies if it does not reduce the set of possible completions to
379Note: TABLE needs to be a proper completion table which obeys 379nothing. Note: TABLE needs to be a proper completion table which
380predicates." 380obeys 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.