diff options
| author | Chong Yidong | 2012-04-23 20:44:54 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-04-23 20:44:54 +0800 |
| commit | 922d37d3e83008260a9d6eabc1bee6973ed3c6b8 (patch) | |
| tree | bafc4eb44ebdb2cc4b44870c71aaf830064b7889 | |
| parent | 775c916bd7fb488b1a6cb907ee5522c0279d435c (diff) | |
| download | emacs-922d37d3e83008260a9d6eabc1bee6973ed3c6b8.tar.gz emacs-922d37d3e83008260a9d6eabc1bee6973ed3c6b8.zip | |
* apropos.el (apropos-read-pattern): Fix word list splitting.
Fixes: debbugs:11132
| -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 @@ | |||
| 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 | ||
| 12 | 2012-04-23 Michael Albinus <michael.albinus@gmx.de> | 13 | 2012-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) |