aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-04-23 20:44:54 +0800
committerChong Yidong2012-04-23 20:44:54 +0800
commit922d37d3e83008260a9d6eabc1bee6973ed3c6b8 (patch)
treebafc4eb44ebdb2cc4b44870c71aaf830064b7889
parent775c916bd7fb488b1a6cb907ee5522c0279d435c (diff)
downloademacs-922d37d3e83008260a9d6eabc1bee6973ed3c6b8.tar.gz
emacs-922d37d3e83008260a9d6eabc1bee6973ed3c6b8.zip
* apropos.el (apropos-read-pattern): Fix word list splitting.
Fixes: debbugs:11132
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/apropos.el2
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 @@
8 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124). 8 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9 9
10 * apropos.el (apropos-read-pattern): Make prompt less cryptic. 10 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11 Fix word list splitting (Bug#11132).
11 12
122012-04-23 Michael Albinus <michael.albinus@gmx.de> 132012-04-23 Michael Albinus <michael.albinus@gmx.de>
13 14
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."
336 (read-string (concat "Search for " subject " (word list or regexp): ")))) 336 (read-string (concat "Search for " subject " (word list or regexp): "))))
337 (if (string-equal (regexp-quote pattern) pattern) 337 (if (string-equal (regexp-quote pattern) pattern)
338 ;; Split into words 338 ;; Split into words
339 (split-string pattern "[ \t]+") 339 (split-string pattern "[ \t]+" t)
340 pattern))) 340 pattern)))
341 341
342(defun apropos-parse-pattern (pattern) 342(defun apropos-parse-pattern (pattern)