mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-02 03:40:36 -08:00
(ignore-errors): Move to subr.el.
This commit is contained in:
parent
6b5de13685
commit
93fd3b3010
1 changed files with 0 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue