1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00

* apropos.el (apropos-read-pattern): Fix word list splitting.

Fixes: debbugs:11132
This commit is contained in:
Chong Yidong 2012-04-23 20:44:54 +08:00
parent 775c916bd7
commit 922d37d3e8
2 changed files with 2 additions and 1 deletions

View 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>

View 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)