changeset 21951:ab7fa71c0957

(comint-replace-by-expanded-history-before-point): When none of the ! or ^ constructs match, move forward one char.
author Richard M. Stallman <rms@gnu.org>
date Tue, 05 May 1998 21:29:28 +0000
parents c66b85d05dd8
children e71c5e32d385
files lisp/comint.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Tue May 05 19:33:16 1998 +0000
+++ b/lisp/comint.el	Tue May 05 21:29:28 1998 +0000
@@ -1058,7 +1058,7 @@
 		   (replace-match new t t)
 		   (message "History item: substituted"))))
 	      (t
-	       (goto-char (match-end 0))))))))
+	       (forward-char 1)))))))
 
 
 (defun comint-magic-space (arg)