# HG changeset patch # User Glenn Morris # Date 1210129105 0 # Node ID be582a862bb96b78e464eeb47c27aaa8aa6f2fa6 # Parent 4520f20e7dd130ec50423feb83dad8766d19c5bc (ignore-errors): Move to subr.el. diff -r 4520f20e7dd1 -r be582a862bb9 lisp/emacs-lisp/cl-macs.el --- 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