aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2000-08-19 12:36:48 +0000
committerMiles Bader2000-08-19 12:36:48 +0000
commit5d9045edcf01f98300f0c22ec30f3ab86bed844f (patch)
tree239d478835ee2d9e850b33bd6f4a596b558df3cf
parent1433385febcbd5f726c9ce046bee32f66e4c4f78 (diff)
downloademacs-5d9045edcf01f98300f0c22ec30f3ab86bed844f.tar.gz
emacs-5d9045edcf01f98300f0c22ec30f3ab86bed844f.zip
(comint-output-filter):
Save the point with a marker, not just a buffer position.
-rw-r--r--lisp/comint.el2
1 files changed, 1 insertions, 1 deletions
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.")
1497 (let ((buffer-read-only nil) 1497 (let ((buffer-read-only nil)
1498 ;; Avoid the overhead of save-excursion, since we just 1498 ;; Avoid the overhead of save-excursion, since we just
1499 ;; fiddle with the point 1499 ;; fiddle with the point
1500 (saved-point (point))) 1500 (saved-point (point-marker)))
1501 1501
1502 ;; We temporarly remove any buffer narrowing, in case the 1502 ;; We temporarly remove any buffer narrowing, in case the
1503 ;; process mark is outside of the restriction 1503 ;; process mark is outside of the restriction