diff options
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r-- | lisp/cus-edit.el | 5 |
1 files changed, 4 insertions, 1 deletions
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*"))) |