changeset 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 0fbf1517a670
children 16956b0d13f8
files lisp/comint.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)))