Mercurial > emacs
changeset 94704:be582a862bb9
(ignore-errors): Move to subr.el.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 07 May 2008 02:58:25 +0000 |
parents | 4520f20e7dd1 |
children | cc066d4b866e |
files | lisp/emacs-lisp/cl-macs.el |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/cl-macs.el Wed May 07 02:57:53 2008 +0000 +++ b/lisp/emacs-lisp/cl-macs.el Wed May 07 02:58:25 2008 +0000 @@ -2519,13 +2519,6 @@ (list* 'list (list 'quote form) sargs)))) nil)))) -;;;###autoload -(defmacro ignore-errors (&rest body) - "Execute BODY; if an error occurs, return nil. -Otherwise, return result of last form in BODY." - `(condition-case nil (progn ,@body) (error nil))) - - ;;; Compiler macros. ;;;###autoload