From 2ac86cc0fe1d61845ea27a365412756a5c269a77 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 5 May 1998 21:29:28 +0000 Subject: [PATCH] (comint-replace-by-expanded-history-before-point): When none of the ! or ^ constructs match, move forward one char. --- lisp/comint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/comint.el b/lisp/comint.el index fe4376996c6..3da9fd1d8a9 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -1058,7 +1058,7 @@ than the logical beginning of line." (replace-match new t t) (message "History item: substituted")))) (t - (goto-char (match-end 0)))))))) + (forward-char 1))))))) (defun comint-magic-space (arg) -- 2.39.2