lisp/cus-edit.el (custom-buffer-create-internal): Fix bug#8136.
authorZachary Kanfer <zkanfer@gmail.com>
Fri, 4 Mar 2011 02:24:47 +0000 (03:24 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 4 Mar 2011 02:24:47 +0000 (03:24 +0100)
Split search string before passing it to `customize-apropos'.

lisp/ChangeLog
lisp/cus-edit.el

index 6787f21..7ac9c6f 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>
+
+       * cus-edit.el (custom-buffer-create-internal):
+       Split search string before passing it to `customize-apropos' (bug#8136).
+
 2011-03-04  Drew Adams  <drew.adams@oracle.com>
 
        * image-dired.el (image-dired-cmd-read-exif-data-options):
index d43d260..8d12511 100644 (file)
@@ -1599,7 +1599,7 @@ Otherwise use brackets."
               'editable-field
               :size 40 :help-echo echo
               :action `(lambda (widget &optional event)
-                         (customize-apropos (widget-value widget))))))
+                         (customize-apropos (split-string (widget-value widget)))))))
        (widget-insert " ")
        (widget-create-child-and-convert
         search-widget 'push-button