From 5d9045edcf01f98300f0c22ec30f3ab86bed844f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 19 Aug 2000 12:36:48 +0000 Subject: [PATCH] (comint-output-filter): Save the point with a marker, not just a buffer position. --- lisp/comint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/comint.el b/lisp/comint.el index 84e4f54949b..8ed39e1c57f 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -1497,7 +1497,7 @@ This variable is permanent-local.") (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 -- 2.39.2