emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108009: * apropos.el (apropos-rea


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108009: * apropos.el (apropos-read-pattern): Fix word list splitting.
Date: Fri, 02 Nov 2012 02:14:32 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108009
fixes bug: http://debbugs.gnu.org/11132
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Mon 2012-04-23 20:44:54 +0800
message:
  * apropos.el (apropos-read-pattern): Fix word list splitting.
modified:
  lisp/ChangeLog
  lisp/apropos.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-04-23 12:37:55 +0000
+++ b/lisp/ChangeLog    2012-04-23 12:44:54 +0000
@@ -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  <address@hidden>
 

=== modified file 'lisp/apropos.el'
--- a/lisp/apropos.el   2012-04-23 12:37:55 +0000
+++ b/lisp/apropos.el   2012-04-23 12:44:54 +0000
@@ -336,7 +336,7 @@
         (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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]