completing-read-multiple: Ignore empty strings in the list of return values
This commit is contained in:
parent
327f1f6f6d
commit
9c44569ea2
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-03-17 Roland Winkler <winkler@gnu.org>
|
||||
|
||||
* emacs-lisp/crm.el (completing-read-multiple): Ignore empty
|
||||
strings in the list of return values.
|
||||
|
||||
2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
|
||||
|
||||
* calc/calc-ext.el (math-read-number-fancy): Check for an explicit
|
||||
|
|
|
@ -287,7 +287,8 @@ INHERIT-INPUT-METHOD."
|
|||
prompt initial-input map
|
||||
nil hist def inherit-input-method)))
|
||||
(and def (string-equal input "") (setq input def))
|
||||
(split-string input crm-separator)))
|
||||
;; Ignore empty strings in the list of return values.
|
||||
(split-string input crm-separator t)))
|
||||
(remove-hook 'choose-completion-string-functions
|
||||
'crm--choose-completion-string)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue