summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-01-28 09:17:42 +0800
committerChong Yidong <cyd@gnu.org>2012-01-28 09:17:42 +0800
commit2e7f3bea5f5a01c0fa9c74b897d834b783f13462 (patch)
treeabd7c97051dbecaeafb4a23dd3a3854b838f4571
parentfc4f7a233ec0e3bf4366f784e14b53e92bcc0241 (diff)
downloademacs-2e7f3bea5f5a01c0fa9c74b897d834b783f13462.tar.gz
* cus-edit.el (custom-buffer-create-internal): Fix search button action.
Fixes: debbugs:10542
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/cus-edit.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fdbd28b1b6a..d8378ef9838 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-28 Chong Yidong <cyd@gnu.org>
+
+ * cus-edit.el (custom-buffer-create-internal): Fix search button
+ action (Bug#10542).
+
2012-01-27 Eduard Wiebe <usenet@pusto.de>
* dired.el (dired-mark-files-regexp):
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 419ab88056a..dc8abb68bb8 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -1637,7 +1637,7 @@ Otherwise use brackets."
:tag " Search "
:help-echo echo :action
(lambda (widget &optional _event)
- (customize-apropos (widget-value (widget-get widget :parent)))))
+ (customize-apropos (split-string (widget-value (widget-get widget :parent))))))
(widget-insert "\n")))
;; The custom command buttons are also in the toolbar, so for a