emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 afb2257 46/64: completion-table-with-predicate do


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] emacs-25 afb2257 46/64: completion-table-with-predicate doc string fix
Date: Sun, 01 May 2016 18:18:42 +0000

branch: emacs-25
commit afb22577de2f06542780870a0431d0ee533eb3ac
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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)
---
 lisp/minibuffer.el |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 714ca85..1ee05d3 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
 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]