Function: term-previous-input-string
term-previous-input-string is a byte-compiled function defined in
term.el.gz.
Signature
(term-previous-input-string ARG)
Documentation
Return the string ARG places along the input ring.
Moves relative to term-input-ring-index.
Source Code
;; Defined in /usr/src/emacs/lisp/term.el.gz
(1- (ring-length term-input-ring))))) ; Last elt for backward search
(defun term-previous-input-string (arg)
"Return the string ARG places along the input ring.
Moves relative to `term-input-ring-index'."
(ring-ref term-input-ring (if term-input-ring-index
(mod (+ arg term-input-ring-index)
(ring-length term-input-ring))
arg)))