summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 623a40d2c3b..05caf546cd2 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1450,6 +1450,7 @@ Similarly for Soar, Scheme, etc."
;; Make an overlay for the terminating newline
(let ((over (make-overlay end (1+ end) nil t nil)))
(overlay-put over 'field 'boundary)
+ (overlay-put over 'inhibit-line-move-field-capture t)
(overlay-put over 'evaporate t))))
(comint-snapshot-last-prompt)