changeset 109917:0266442adf6a

* subr.el (ignore-errors): Add debug declaration.
author Andreas Schwab <schwab@linux-m68k.org>
date Wed, 11 Aug 2010 15:43:49 +0200
parents fef8d4c0b9d4
children 1ae553f27229 f0dab256c4f7
files lisp/ChangeLog lisp/subr.el
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Aug 09 08:51:28 2010 -0700
+++ b/lisp/ChangeLog	Wed Aug 11 15:43:49 2010 +0200
@@ -1,3 +1,7 @@
+2010-08-11  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* subr.el (ignore-errors): Add debug declaration.
+
 2010-08-09  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
 
 	* whitespace.el (whitespace-color-off): Remove post-command-hook
--- a/lisp/subr.el	Mon Aug 09 08:51:28 2010 -0700
+++ b/lisp/subr.el	Wed Aug 11 15:43:49 2010 +0200
@@ -219,6 +219,7 @@
 (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.