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).
(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*")))