diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-04-05 16:10:57 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-04-05 16:10:57 +0300 |
commit | eb1dd42a729ab1b9cdcd278767951679480cd4c3 (patch) | |
tree | 7a9787eacf9fa495ad8f7caef59bb58a46fbe04a /lisp/emacs-lisp/crm.el | |
parent | 86e9346005b957ddadb73586c9641e68ea12a79d (diff) | |
parent | 2a417372c4a06fe90c343bc59660268c7a5ac3e9 (diff) | |
download | emacs-eb1dd42a729ab1b9cdcd278767951679480cd4c3.tar.gz emacs-eb1dd42a729ab1b9cdcd278767951679480cd4c3.tar.bz2 emacs-eb1dd42a729ab1b9cdcd278767951679480cd4c3.zip |
Merge from trunk.
Diffstat (limited to 'lisp/emacs-lisp/crm.el')
-rw-r--r-- | lisp/emacs-lisp/crm.el | 5 |
1 files changed, 3 insertions, 2 deletions
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))) |