emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112063: completing-read-multiple: Ig


From: Roland Winkler
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112063: completing-read-multiple: Ignore empty strings in the list of return values
Date: Sun, 17 Mar 2013 05:33:57 -0500
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 112063
committer: Roland Winkler <address@hidden>
branch nick: trunk
timestamp: Sun 2013-03-17 05:33:57 -0500
message:
  completing-read-multiple: Ignore empty strings in the list of return values
modified:
  lisp/ChangeLog
  lisp/emacs-lisp/crm.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-03-17 00:19:09 +0000
+++ b/lisp/ChangeLog    2013-03-17 10:33:57 +0000
@@ -1,3 +1,8 @@
+2013-03-17  Roland Winkler  <address@hidden>
+
+       * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
+       strings in the list of return values.
+
 2013-03-17  Jay Belanger  <address@hidden>
 
        * calc/calc-ext.el (math-read-number-fancy): Check for an explicit

=== modified file 'lisp/emacs-lisp/crm.el'
--- a/lisp/emacs-lisp/crm.el    2013-01-10 02:45:31 +0000
+++ b/lisp/emacs-lisp/crm.el    2013-03-17 10:33:57 +0000
@@ -287,7 +287,8 @@
                       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)))
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]