]> git.eshelyaron.com Git - emacs.git/commitdiff
* apropos.el (apropos-read-pattern): Fix word list splitting.
authorChong Yidong <cyd@gnu.org>
Mon, 23 Apr 2012 12:44:54 +0000 (20:44 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 23 Apr 2012 12:44:54 +0000 (20:44 +0800)
Fixes: debbugs:11132
lisp/ChangeLog
lisp/apropos.el

index 41b00159aeef32ea51c47ffa026ccc19b240441a..2bef7214456b2d6305d3d6c73174115f2bd8ba66 100644 (file)
@@ -8,6 +8,7 @@
        (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
 
        * apropos.el (apropos-read-pattern): Make prompt less cryptic.
+       Fix word list splitting (Bug#11132).
 
 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
 
index 6bf396a1632c8cc0c36a7802ea90aed8447d267f..25163dcab990d7b5bea9ac62aed7329c088f708f 100644 (file)
@@ -336,7 +336,7 @@ kind of objects to search."
         (read-string (concat "Search for " subject " (word list or regexp): "))))
     (if (string-equal (regexp-quote pattern) pattern)
        ;; Split into words
-       (split-string pattern "[ \t]+")
+       (split-string pattern "[ \t]+" t)
       pattern)))
 
 (defun apropos-parse-pattern (pattern)