From: Andreas Schwab Date: Wed, 11 Aug 2010 13:43:49 +0000 (+0200) Subject: * subr.el (ignore-errors): Add debug declaration. X-Git-Tag: emacs-pretest-23.2.90~139^2~29^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7467d0a812ca803105e6d28dbb75c7246521e862;p=emacs.git * subr.el (ignore-errors): Add debug declaration. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0bdb6535045..0ae95366b6d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-08-11 Andreas Schwab + + * subr.el (ignore-errors): Add debug declaration. + 2010-08-09 Geoff Gole (tiny change) * whitespace.el (whitespace-color-off): Remove post-command-hook diff --git a/lisp/subr.el b/lisp/subr.el index 16ea5b41342..44ae84ab76b 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -219,6 +219,7 @@ Treated as a declaration when used at the right place in a (defmacro ignore-errors (&rest body) "Execute BODY; if an error occurs, return nil. Otherwise, return result of last form in BODY." + (declare (debug t) (indent 0)) `(condition-case nil (progn ,@body) (error nil))) ;;;; Basic Lisp functions.