diff options
| -rw-r--r-- | lisp/comint.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 29217719166..e86c019a9d5 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -1413,7 +1413,7 @@ Similarly for Soar, Scheme, etc." | |||
| 1413 | (end (1- (point)))) | 1413 | (end (1- (point)))) |
| 1414 | (when (not (> beg end)) ; handle a special case | 1414 | (when (not (> beg end)) ; handle a special case |
| 1415 | ;; Make an overlay for the input field | 1415 | ;; Make an overlay for the input field |
| 1416 | (let ((over (make-overlay beg end))) | 1416 | (let ((over (make-overlay beg end nil nil t))) |
| 1417 | (unless comint-use-prompt-regexp-instead-of-fields | 1417 | (unless comint-use-prompt-regexp-instead-of-fields |
| 1418 | ;; Give old user input a field property of `input', to | 1418 | ;; Give old user input a field property of `input', to |
| 1419 | ;; distinguish it from both process output and unsent | 1419 | ;; distinguish it from both process output and unsent |
| @@ -1428,7 +1428,7 @@ Similarly for Soar, Scheme, etc." | |||
| 1428 | (overlay-put over 'evaporate t)))) | 1428 | (overlay-put over 'evaporate t)))) |
| 1429 | (unless comint-use-prompt-regexp-instead-of-fields | 1429 | (unless comint-use-prompt-regexp-instead-of-fields |
| 1430 | ;; Make an overlay for the terminating newline | 1430 | ;; Make an overlay for the terminating newline |
| 1431 | (let ((over (make-overlay end (1+ end)))) | 1431 | (let ((over (make-overlay end (1+ end) nil t nil))) |
| 1432 | (overlay-put over 'field 'boundary) | 1432 | (overlay-put over 'field 'boundary) |
| 1433 | (overlay-put over 'rear-nonsticky t) | 1433 | (overlay-put over 'rear-nonsticky t) |
| 1434 | (overlay-put over 'evaporate t)))) | 1434 | (overlay-put over 'evaporate t)))) |