[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104880: * minibuffer.el (completion-
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104880: * minibuffer.el (completion-in-region): Document PREDICATE |
Date: |
Sat, 02 Jul 2011 18:07:30 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104880
fixes bug(s): http://debbugs.gnu.org/7136
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sat 2011-07-02 18:07:30 +0200
message:
* minibuffer.el (completion-in-region): Document PREDICATE
(bug#7136).
modified:
lisp/ChangeLog
lisp/minibuffer.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-07-02 14:05:38 +0000
+++ b/lisp/ChangeLog 2011-07-02 16:07:30 +0000
@@ -1,5 +1,8 @@
2011-07-02 Lars Magne Ingebrigtsen <address@hidden>
+ * 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).
=== modified file 'lisp/minibuffer.el'
--- a/lisp/minibuffer.el 2011-07-02 04:27:41 +0000
+++ b/lisp/minibuffer.el 2011-07-02 16:07:30 +0000
@@ -1442,7 +1442,9 @@
(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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104880: * minibuffer.el (completion-in-region): Document PREDICATE,
Lars Magne Ingebrigtsen <=