From: Glenn Morris Date: Wed, 7 May 2008 02:58:25 +0000 (+0000) Subject: (ignore-errors): Move to subr.el. X-Git-Tag: emacs-pretest-23.0.90~5759 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=93fd3b3010cae8a68ec0e00684ddacb78a52c537;p=emacs.git (ignore-errors): Move to subr.el. --- diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index 6d54066fe4e..121bd5eea3b 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -2519,13 +2519,6 @@ omitted, a default message listing FORM itself is used." (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