Commit 81711dba authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(customize-apropos): A better error message.

(top level) <debug-ignored-errors>: Extend and update the list of ignored
error messages.
parent 08fd202a
2006-06-23 Martin Rudalics <rudalics@gmx.at>
* cus-edit.el (customize-apropos): A better error message.
(top level) <debug-ignored-errors>: Extend and update the list of
ignored error messages.
2006-06-23 Michael Ernst <mernst@alum.mit.edu> 2006-06-23 Michael Ernst <mernst@alum.mit.edu>
   
* complete.el (PC-do-completion): Retain capitalization of user * complete.el (PC-do-completion): Retain capitalization of user
......
...@@ -1366,10 +1366,10 @@ that are not customizable options, as well as faces and groups ...@@ -1366,10 +1366,10 @@ that are not customizable options, as well as faces and groups
(get symbol 'variable-documentation)))) (get symbol 'variable-documentation))))
(push (list symbol 'custom-variable) found))))) (push (list symbol 'custom-variable) found)))))
(if (not found) (if (not found)
(error "No matches") (error "No customizable items matching %s" regexp)
(custom-buffer-create (custom-sort-items found t (custom-buffer-create
custom-buffer-order-groups) (custom-sort-items found t custom-buffer-order-groups)
"*Customize Apropos*")))) "*Customize Apropos*"))))
;;;###autoload ;;;###autoload
(defun customize-apropos-options (regexp &optional arg) (defun customize-apropos-options (regexp &optional arg)
...@@ -4520,9 +4520,18 @@ if that value is non-nil." ...@@ -4520,9 +4520,18 @@ if that value is non-nil."
(put 'custom-mode 'mode-class 'special) (put 'custom-mode 'mode-class 'special)
(add-to-list (dolist (regexp
'debug-ignored-errors '("^No user option defaults have been changed since Emacs "
"^No user options have changed defaults in recent Emacs versions$") "^Invalid face:? "
"^No \\(?:customized\\|rogue\\|saved\\) user options"
"^No customizable items matching "
"^There are unset changes"
"^Cannot set hidden variable"
"^No \\(?:saved\\|backup\\) value for "
"^No standard setting known for "
"^No standard setting for this face"
"^Saving settings from \"emacs -q\" would overwrite existing customizations"))
(add-to-list 'debug-ignored-errors regexp))
;;; The End. ;;; The End.
......
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