From 93fd3b3010cae8a68ec0e00684ddacb78a52c537 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 7 May 2008 02:58:25 +0000 Subject: [PATCH] (ignore-errors): Move to subr.el. --- lisp/emacs-lisp/cl-macs.el | 7 ------- 1 file changed, 7 deletions(-) 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 -- 2.39.5