Commit fc2b1ffa authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

* cus-edit.el (customize-apropos): Fix error string.

parent ab4dc1e1
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*")))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment