]> git.eshelyaron.com Git - emacs.git/commitdiff
* cus-edit.el (customize-apropos): Fix error string.
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 9 Feb 2014 04:57:28 +0000 (20:57 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 9 Feb 2014 04:57:28 +0000 (20:57 -0800)
lisp/ChangeLog
lisp/cus-edit.el

index 02cc24a2a3620a9b48c049f8da57a02774b42cbe..44172fa2a702b43843b5ff6cfc4da34688bf0dbc 100644 (file)
@@ -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).
 
index 5b03d3d57c79e3cee41f525983f8425c6c163035..8c3617de633f1a3852c7f07b666dfd09884aec1e 100644 (file)
@@ -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*")))