Commit 08549772 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

* minibuffer.el (completion-in-region): Document PREDICATE

(bug#7136).
parent 48954a09
2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
* minibuffer.el (completion-in-region): Document PREDICATE
(bug#7136).
* info-look.el (info-lookup-add-help): Clarify that ARGS is a list
of keyword/argument pairs (bug#6904).
......
......@@ -1442,7 +1442,9 @@ we entered `completion-in-region-mode'.")
(defun completion-in-region (start end collection &optional predicate)
"Complete the text between START and END using COLLECTION.
Return nil if there is no valid completion, else t.
Point needs to be somewhere between START and END."
Point needs to be somewhere between START and END.
PREDICATE (a function called with no arguments) says when to
exit."
(assert (<= start (point)) (<= (point) end))
(with-wrapper-hook
;; FIXME: Maybe we should use this hook to provide a "display
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment