Function: eshell-resume-eval

eshell-resume-eval is a byte-compiled function defined in esh-cmd.el.gz.

Signature

(eshell-resume-eval)

Documentation

Destructively evaluate a form which may need to be deferred.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defun eshell-resume-eval ()
  "Destructively evaluate a form which may need to be deferred."
  (eshell-condition-case err
      (progn
	(setq eshell-last-async-procs nil)
	(when eshell-current-command
	  (let* (retval
		 (procs (catch 'eshell-defer
			 (ignore
			  (setq retval
				(eshell-do-eval
				 eshell-current-command))))))
           (if (eshell-process-pair-p procs)
               (ignore (setq eshell-last-async-procs procs))
             (cadr retval)))))
    (error
     (error (error-message-string err)))))