comint-previous-matching-input-from-input

comint-previous-matching-input-from-input is an interactive compiled Lisp function in `comint.el'.


(comint-previous-matching-input-from-input N)

Search backwards through input history for match for current input.
(Previous history elements are earlier commands.)
With prefix argument N, search for Nth previous match.
If N is negative, search forwards for the -Nth following match.