Function: eshell-point-within-input-p
eshell-point-within-input-p is a byte-compiled function defined in
em-rebind.el.gz.
Signature
(eshell-point-within-input-p POS)
Documentation
Test whether POS is within an input range.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-rebind.el.gz
(defsubst eshell-point-within-input-p (pos)
"Test whether POS is within an input range."
(let (begin)
(or (and (>= pos eshell-last-output-end)
eshell-last-output-end)
(and eshell-remap-previous-input
(setq begin
(save-excursion
(eshell-bol)
(and (not (bolp)) (point))))
(>= pos begin)
(<= pos (line-end-position))
begin))))