diff lisp/comint.el @ 35514:e25ec5ecc3f5

(comint-replace-by-expanded-history-before-point): Fix change of 2000-08-03 to move point to the start of the line again.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 24 Jan 2001 16:21:56 +0000
parents ebc45a028f0f
children 8e8c4af5a4ae
line wrap: on
line diff
--- a/lisp/comint.el	Wed Jan 24 16:10:06 2001 +0000
+++ b/lisp/comint.el	Wed Jan 24 16:21:56 2001 +0000
@@ -1136,6 +1136,7 @@
   (save-excursion
     (let ((toend (- (line-end-position) (point)))
 	  (start (comint-line-beginning-position)))
+      (goto-char start)
       (while (progn
 	       (skip-chars-forward "^!^" (- (line-end-position) toend))
 	       (< (point) (- (line-end-position) toend)))