From: Chong Yidong Date: Mon, 23 Apr 2012 12:44:54 +0000 (+0800) Subject: * apropos.el (apropos-read-pattern): Fix word list splitting. X-Git-Tag: emacs-24.2.90~471^2~298 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=922d37d3e83008260a9d6eabc1bee6973ed3c6b8;p=emacs.git * apropos.el (apropos-read-pattern): Fix word list splitting. Fixes: debbugs:11132 --- 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 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)