Function: term-next-matching-input

term-next-matching-input is an interactive and byte-compiled function defined in term.el.gz.

Signature

(term-next-matching-input REGEXP N)

Documentation

Search forwards through input history for match for REGEXP.

(Later history elements are more recent commands.)
With prefix argument N, search for Nth following match. If N is negative, find the previous or Nth previous match.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-next-matching-input (regexp n)
  "Search forwards through input history for match for REGEXP.
\(Later history elements are more recent commands.)
With prefix argument N, search for Nth following match.
If N is negative, find the previous or Nth previous match."
  (interactive (term-regexp-arg "Next input matching (regexp): "))
  (term-previous-matching-input regexp (- n)))