From 7467d0a812ca803105e6d28dbb75c7246521e862 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 11 Aug 2010 15:43:49 +0200 Subject: [PATCH] * subr.el (ignore-errors): Add debug declaration. --- lisp/ChangeLog | 4 ++++ lisp/subr.el | 1 + 2 files changed, 5 insertions(+) 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. -- 2.39.2