emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99971: * subr.el (ignore-errors):


From: Andreas Schwab
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99971: * subr.el (ignore-errors): Add debug declaration.
Date: Wed, 11 Aug 2010 15:43:49 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99971
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Wed 2010-08-11 15:43:49 +0200
message:
  * subr.el (ignore-errors): Add debug declaration.
modified:
  lisp/ChangeLog
  lisp/subr.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-08-09 02:23:35 +0000
+++ b/lisp/ChangeLog    2010-08-11 13:43:49 +0000
@@ -1,3 +1,7 @@
+2010-08-11  Andreas Schwab  <address@hidden>
+
+       * subr.el (ignore-errors): Add debug declaration.
+
 2010-08-09  Geoff Gole  <address@hidden>  (tiny change)
 
        * whitespace.el (whitespace-color-off): Remove post-command-hook

=== modified file 'lisp/subr.el'
--- a/lisp/subr.el      2010-06-17 03:37:13 +0000
+++ b/lisp/subr.el      2010-08-11 13:43:49 +0000
@@ -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.


reply via email to

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