From: Richard M. Stallman Date: Tue, 5 May 1998 21:29:28 +0000 (+0000) Subject: (comint-replace-by-expanded-history-before-point): X-Git-Tag: emacs-20.3~1126 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ac86cc0fe1d61845ea27a365412756a5c269a77;p=emacs.git (comint-replace-by-expanded-history-before-point): When none of the ! or ^ constructs match, move forward one char. --- 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)