Function: eshell-show-output
eshell-show-output is an interactive and byte-compiled function
defined in esh-mode.el.gz.
Signature
(eshell-show-output &optional ARG)
Documentation
Display start of this batch of interpreter output at top of window.
Sets mark to the value of point when this command is run. With a prefix argument, narrows region to last command output.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-mode.el.gz
(defun eshell-show-output (&optional arg)
"Display start of this batch of interpreter output at top of window.
Sets mark to the value of point when this command is run.
With a prefix argument, narrows region to last command output."
(interactive "P")
(goto-char (eshell-beginning-of-output))
(set-window-start (selected-window)
(save-excursion
(goto-char (eshell-beginning-of-input))
(line-beginning-position)))
(if arg
(narrow-to-region (eshell-beginning-of-output)
(eshell-end-of-output)))
(eshell-end-of-output))