# HG changeset patch # User Miles Bader # Date 966688608 0 # Node ID c6ebff75e052fb0fba47c942f33660fcad82f6d4 # Parent 0bf7e72d456f70ad4488b7f062db1ce943942616 (comint-output-filter): Save the point with a marker, not just a buffer position. diff -r 0bf7e72d456f -r c6ebff75e052 lisp/comint.el --- a/lisp/comint.el Sat Aug 19 12:35:17 2000 +0000 +++ b/lisp/comint.el Sat Aug 19 12:36:48 2000 +0000 @@ -1497,7 +1497,7 @@ (let ((buffer-read-only nil) ;; Avoid the overhead of save-excursion, since we just ;; fiddle with the point - (saved-point (point))) + (saved-point (point-marker))) ;; We temporarly remove any buffer narrowing, in case the ;; process mark is outside of the restriction