]> git.eshelyaron.com Git - emacs.git/commitdiff
completion-table-with-predicate doc string fix
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 18:31:39 +0000 (20:31 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 1 May 2016 17:27:14 +0000 (19:27 +0200)
* lisp/minibuffer.el (completion-table-with-predicate): t ->
non-nil in the doc string (bug#20460).

(cherry picked from commit b6a4d162208f239bc7804696d611ae52c686f138)

lisp/minibuffer.el

index 714ca851eb051c81f8ba86f25b732f4814ff2cd3..1ee05d32de5bc484028bd9dca78c7cec8ddb99e4 100644 (file)
@@ -374,10 +374,10 @@ only if the argument is an element of TABLE which should be
 considered for completion.  STRING, PRED2, and ACTION are the
 usual arguments to completion tables, as described in
 `try-completion', `all-completions', and `test-completion'.  If
-STRICT is t, the predicate always applies; if nil it only applies
-if it does not reduce the set of possible completions to nothing.
-Note: TABLE needs to be a proper completion table which obeys
-predicates."
+STRICT is non-nil, the predicate always applies; if nil it only
+applies if it does not reduce the set of possible completions to
+nothing.  Note: TABLE needs to be a proper completion table which
+obeys predicates."
   (cond
    ((and (not strict) (eq action 'lambda))
     ;; Ignore pred1 since it doesn't really have to apply anyway.