1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(comint-output-filter):

Save the point with a marker, not just a buffer position.
This commit is contained in:
Miles Bader 2000-08-19 12:36:48 +00:00
parent 1433385feb
commit 5d9045edcf

View File

@ -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