]> git.eshelyaron.com Git - emacs.git/commitdiff
(comint-replace-by-expanded-history-before-point):
authorRichard M. Stallman <rms@gnu.org>
Tue, 5 May 1998 21:29:28 +0000 (21:29 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 5 May 1998 21:29:28 +0000 (21:29 +0000)
When none of the ! or ^ constructs match, move forward one char.

lisp/comint.el

index fe4376996c6c1c8ba6aed48e00d072aa301da4a4..3da9fd1d8a972e205c5a97e014b3014b0e2a4a3d 100644 (file)
@@ -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)