[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 f3f4502 45/64: Fill the completion-table-with-pre
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] emacs-25 f3f4502 45/64: Fill the completion-table-with-predicate doc string |
Date: |
Sun, 01 May 2016 18:18:42 +0000 |
branch: emacs-25
commit f3f45020eb8347f8100a63635c6db275836c9b74
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Fill the completion-table-with-predicate doc string
* lisp/minibuffer.el (completion-table-with-predicate): Fill
the doc string (bug#20460).
(cherry picked from commit 207a31432c1ed8b548003a3e4af32c49aa3441e9)
---
lisp/minibuffer.el | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 6540059..714ca85 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -369,13 +369,15 @@ instead of a string, a function that takes the completion
and returns the
(defun completion-table-with-predicate (table pred1 strict string pred2 action)
"Make a completion table equivalent to TABLE but filtered through PRED1.
-PRED1 is a function of one argument which returns non-nil if and 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."
+PRED1 is a function of one argument which returns non-nil if and
+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."
(cond
((and (not strict) (eq action 'lambda))
;; Ignore pred1 since it doesn't really have to apply anyway.
- [Emacs-diffs] emacs-25 ed8474e 33/64: Clarify the doc of eval-expression-print-format, (continued)
- [Emacs-diffs] emacs-25 ed8474e 33/64: Clarify the doc of eval-expression-print-format, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 925af7e 27/64: Fill the doc string of font-lock-keywords, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 6d8c2d0 49/64: custom-buffer-style doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 3cbc1e3 07/64: Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]", Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 25b4cf3 56/64: Describe WHEN in all the define-obsolete- macros, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 9f27bcf 60/64: isearch-search-fun-function doc tweak, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 3bc26a7 53/64: clear-visited-file-modtime doc string fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 afb2257 46/64: completion-table-with-predicate doc string fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 d1ab001 58/64: Fmarker_position doc string clarification, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 ef32be6 48/64: Rearrange the doc of query-replace slightly, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 f3f4502 45/64: Fill the completion-table-with-predicate doc string,
Lars Ingebrigtsen <=
- [Emacs-diffs] emacs-25 9722ae1 54/64: with-silent-modifications doc clarification, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 78ae805 59/64: Fill some imenu--index-alist doc lines, Lars Ingebrigtsen, 2016/05/01