diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 1 | ||||
-rw-r--r-- | lisp/apropos.el | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 41b00159aee..2bef7214456 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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> diff --git a/lisp/apropos.el b/lisp/apropos.el index 6bf396a1632..25163dcab99 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -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) |