aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/comint.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 4abb17ed17a..00528f38ab0 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1740,12 +1740,8 @@ Make backspaces delete the previous character."
1740 1740
1741 ;; Insert STRING 1741 ;; Insert STRING
1742 (let ((inhibit-read-only t) 1742 (let ((inhibit-read-only t)
1743 ;; Avoid the overhead of save-excursion, since we just 1743 ;; The point should float after any insertion we do.
1744 ;; fiddle with the point 1744 (saved-point (copy-marker (point) t)))
1745 (saved-point (point-marker)))
1746
1747 ;; The point should float after any insertion we do
1748 (set-marker-insertion-type saved-point t)
1749 1745
1750 ;; We temporarly remove any buffer narrowing, in case the 1746 ;; We temporarly remove any buffer narrowing, in case the
1751 ;; process mark is outside of the restriction 1747 ;; process mark is outside of the restriction