Function: eshell-protect

eshell-protect is a macro defined in esh-cmd.el.gz.

This macro is obsolete since 31.1.

Signature

(eshell-protect OBJECT)

Documentation

Protect I/O handles, so they aren't get closed after eval'ing OBJECT.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defmacro eshell-protect (object)
  "Protect I/O handles, so they aren't get closed after eval'ing OBJECT."
  (declare (obsolete nil "31.1"))
  `(progn
     (eshell-protect-handles eshell-current-handles)
     ,object))