Function: comint-next-matching-input-from-input
comint-next-matching-input-from-input is an interactive and
byte-compiled function defined in comint.el.gz.
Signature
(comint-next-matching-input-from-input N)
Documentation
Search forwards through input history for match for current input.
(Following history elements are more recent commands.)
With prefix argument N, search for Nth following match.
If N is negative, search backwards for the -Nth previous match.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun comint-next-matching-input-from-input (n)
"Search forwards through input history for match for current input.
\(Following history elements are more recent commands.)
With prefix argument N, search for Nth following match.
If N is negative, search backwards for the -Nth previous match."
(interactive "p" comint-mode)
(comint-previous-matching-input-from-input (- n)))