Function: eshell/exit
eshell/exit is a byte-compiled function defined in esh-mode.el.gz.
Signature
(eshell/exit)
Documentation
Leave or kill the Eshell buffer, depending on eshell-kill-on-exit.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-mode.el.gz
(defun eshell/exit ()
"Leave or kill the Eshell buffer, depending on `eshell-kill-on-exit'."
(throw 'eshell-terminal t))