changeset 5323:44a59f6e114e

(comint-next-matching-input-from-input): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Fri, 24 Dec 1993 02:40:33 +0000
parents f2e4b574a4e9
children f091cdec77e2
files lisp/comint.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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)))