Function: eshell-trap-errors

eshell-trap-errors is a function alias for eshell-do-command, defined in esh-cmd.el.gz.

This macro is obsolete since 31.1; use eshell-do-command instead.

Signature

(eshell-trap-errors OBJECT)

Documentation

Trap any errors that occur, so they are not entirely fatal.

Also, the variable eshell-this-command-hook is available for the duration of OBJECT's evaluation. Note that functions should be added to this hook using nconc, and *not* add-hook.

Someday, when Scheme will become the dominant Emacs language, all of this grossness will be made to disappear by using call/cc...

Aliases

eshell-trap-errors (obsolete since 31.1)