summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2001-08-16 14:52:16 +0000
committerMiles Bader <miles@gnu.org>2001-08-16 14:52:16 +0000
commit8c24e65bee9ad588fc911f525d1e3a09d0b1ae21 (patch)
tree93b447db18e1ae294dc789e66bb8df74bfd3abfd /lisp/comint.el
parent50af0a5b40d0e9996f7819379f1775e498d56e1f (diff)
downloademacs-8c24e65bee9ad588fc911f525d1e3a09d0b1ae21.tar.gz
(comint-send-input): Add `inhibit-line-move-field-capture' property to
input-terminating `boundary' overlays to avoid line-move wierdness.
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)