Mercurial > emacs
comparison lisp/comint.el @ 38848:43b2b9e04c57
(comint-send-input): Add `inhibit-line-move-field-capture' property to
input-terminating `boundary' overlays to avoid line-move wierdness.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 16 Aug 2001 14:52:16 +0000 |
parents | 153f1b1f2efd |
children | 478f11ee1d4c |
comparison
equal
deleted
inserted
replaced
38847:ba7523a60edc | 38848:43b2b9e04c57 |
---|---|
1448 (overlay-put over 'evaporate t)))) | 1448 (overlay-put over 'evaporate t)))) |
1449 (unless comint-use-prompt-regexp-instead-of-fields | 1449 (unless comint-use-prompt-regexp-instead-of-fields |
1450 ;; Make an overlay for the terminating newline | 1450 ;; Make an overlay for the terminating newline |
1451 (let ((over (make-overlay end (1+ end) nil t nil))) | 1451 (let ((over (make-overlay end (1+ end) nil t nil))) |
1452 (overlay-put over 'field 'boundary) | 1452 (overlay-put over 'field 'boundary) |
1453 (overlay-put over 'inhibit-line-move-field-capture t) | |
1453 (overlay-put over 'evaporate t)))) | 1454 (overlay-put over 'evaporate t)))) |
1454 | 1455 |
1455 (comint-snapshot-last-prompt) | 1456 (comint-snapshot-last-prompt) |
1456 | 1457 |
1457 (setq comint-save-input-ring-index comint-input-ring-index) | 1458 (setq comint-save-input-ring-index comint-input-ring-index) |