# HG changeset patch # User Richard M. Stallman # Date 756700833 0 # Node ID 44a59f6e114eba4ba3e0ff352be63dbc889061bc # Parent f2e4b574a4e95a5bbf23f35b41503119ee171945 (comint-next-matching-input-from-input): Doc fix. diff -r f2e4b574a4e9 -r 44a59f6e114e lisp/comint.el --- a/lisp/comint.el Fri Dec 24 02:34:25 1993 +0000 +++ b/lisp/comint.el Fri Dec 24 02:40:33 1993 +0000 @@ -828,7 +828,7 @@ "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, find the next or Nth next match." +If N is negative, search forwards for the -Nth following match." (interactive "p") (if (not (memq last-command '(comint-previous-matching-input-from-input comint-next-matching-input-from-input))) @@ -844,9 +844,9 @@ (defun comint-next-matching-input-from-input (arg) "Search forwards 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, find the next or Nth next match." +\(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-previous-matching-input-from-input (- arg)))