summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Winkler <winkler@gnu.org>2013-03-31 10:19:19 -0500
committerRoland Winkler <winkler@gnu.org>2013-03-31 10:19:19 -0500
commita77e2924c91c20b2b5ca121f52d2c71245c56c74 (patch)
tree8b243dab161be9aa545137071a9808cfada5b3af
parent2bd8a4a8675b92b9dfed0a145493abb48e048d2d (diff)
downloademacs-a77e2924c91c20b2b5ca121f52d2c71245c56c74.tar.gz
emacs-lisp/crm.el (completing-read-multiple): Doc fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/crm.el5
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9a471252797..0067dfe305b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-31 Roland Winkler <winkler@gnu.org>
+
+ * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
+
2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
* hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
diff --git a/lisp/emacs-lisp/crm.el b/lisp/emacs-lisp/crm.el
index e1e1847dd59..b8e327625e7 100644
--- a/lisp/emacs-lisp/crm.el
+++ b/lisp/emacs-lisp/crm.el
@@ -263,7 +263,8 @@ Completion is available on a per-element basis. For example, if the
contents of the minibuffer are 'alice,bob,eve' and point is between
'l' and 'i', pressing TAB operates on the element 'alice'.
-The return value of this function is a list of the read strings.
+The return value of this function is a list of the read strings
+with empty strings removed.
See the documentation for `completing-read' for details on the arguments:
PROMPT, TABLE, PREDICATE, REQUIRE-MATCH, INITIAL-INPUT, HIST, DEF, and
@@ -287,7 +288,7 @@ INHERIT-INPUT-METHOD."
prompt initial-input map
nil hist def inherit-input-method)))
(and def (string-equal input "") (setq input def))
- ;; Ignore empty strings in the list of return values.
+ ;; Remove empty strings in the list of read strings.
(split-string input crm-separator t)))
(remove-hook 'choose-completion-string-functions
'crm--choose-completion-string)))