]> git.eshelyaron.com Git - emacs.git/commitdiff
(comint-output-filter):
authorMiles Bader <miles@gnu.org>
Sat, 19 Aug 2000 12:36:48 +0000 (12:36 +0000)
committerMiles Bader <miles@gnu.org>
Sat, 19 Aug 2000 12:36:48 +0000 (12:36 +0000)
  Save the point with a marker, not just a buffer position.

lisp/comint.el

index 84e4f54949b5167271c064cb75e1424bba3105fc..8ed39e1c57f3846bbdf7609b3836bf49e829a9a4 100644 (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