emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116368: * cus-edit.el (customize-apropos): Fix erro


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] trunk r116368: * cus-edit.el (customize-apropos): Fix error string.
Date: Sun, 09 Feb 2014 04:58:42 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116368
revision-id: address@hidden
parent: address@hidden
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sat 2014-02-08 20:57:28 -0800
message:
  * cus-edit.el (customize-apropos): Fix error string.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/cus-edit.el               cusedit.el-20091113204419-o5vbwnq5f7feedwu-1091
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-02-09 04:30:00 +0000
+++ b/lisp/ChangeLog    2014-02-09 04:57:28 +0000
@@ -1,5 +1,7 @@
 2014-02-09  Lars Ingebrigtsen  <address@hidden>
 
+       * cus-edit.el (customize-apropos): Fix error string.
+
        * dired-aux.el (dired-copy-file-recursive): Remove slighly
        misleading comment (bug#11328).
 

=== modified file 'lisp/cus-edit.el'
--- a/lisp/cus-edit.el  2014-01-01 07:43:34 +0000
+++ b/lisp/cus-edit.el  2014-02-09 04:57:28 +0000
@@ -1450,7 +1450,10 @@
                           (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*")))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]