* cus-edit.el (customize-apropos): Fix error string.
This commit is contained in:
parent
ab4dc1e1ba
commit
fc2b1ffaa0
2 changed files with 6 additions and 1 deletions
|
@ -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).
|
||||
|
||||
|
|
|
@ -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*")))
|
||||
|
|
Loading…
Add table
Reference in a new issue