Function: term-search-arg
term-search-arg is a byte-compiled function defined in term.el.gz.
Signature
(term-search-arg ARG)
Source Code
;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-search-arg (arg)
;; First make sure there is a ring and that we are after the process mark
(cond ((not (term-after-pmark-p))
(error "Not at command line"))
((or (null term-input-ring)
(ring-empty-p term-input-ring))
(error "Empty input ring"))
((zerop arg)
;; arg of zero resets search from beginning, and uses arg of 1
(setq term-input-ring-index nil)
1)
(t
arg)))