summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2014-02-08 20:57:28 -0800
committerLars Ingebrigtsen <larsi@gnus.org>2014-02-08 20:57:28 -0800
commitfc2b1ffaa0e7edfd60fee9441c59c830219a407c (patch)
treed10d27eaccfcf5aa329bf6d63a16f2193de429af /lisp
parentab4dc1e1bab31e79566fdbff73508cac40cd9f12 (diff)
downloademacs-fc2b1ffaa0e7edfd60fee9441c59c830219a407c.tar.gz
emacs-fc2b1ffaa0e7edfd60fee9441c59c830219a407c.tar.bz2
emacs-fc2b1ffaa0e7edfd60fee9441c59c830219a407c.zip
* cus-edit.el (customize-apropos): Fix error string.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/cus-edit.el5
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 02cc24a2a36..44172fa2a70 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
+ * cus-edit.el (customize-apropos): Fix error string.
+
* dired-aux.el (dired-copy-file-recursive): Remove slighly
misleading comment (bug#11328).
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 5b03d3d57c7..8c3617de633 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -1450,7 +1450,10 @@ If TYPE is `groups', include only groups."
(custom-variable-p symbol)))
(push (list symbol 'custom-variable) found))))))
(unless found
- (error "No customizable %s matching %s" (symbol-name type) pattern))
+ (error "No customizable %s matching %s" (if (not type)
+ "group, face, or option"
+ (symbol-name type))
+ pattern))
(custom-buffer-create
(custom-sort-items found t custom-buffer-order-groups)
"*Customize Apropos*")))