diff lisp/comint.el @ 30964:c6ebff75e052

(comint-output-filter): Save the point with a marker, not just a buffer position.
author Miles Bader <miles@gnu.org>
date Sat, 19 Aug 2000 12:36:48 +0000
parents ec347dd209e8
children 9e1d7707876b
line wrap: on
line diff
--- 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