diff options
| author | Miles Bader | 2000-08-29 11:21:09 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-08-29 11:21:09 +0000 |
| commit | 22bcff4e756242e86ba70ec0957b376ad92d6ddc (patch) | |
| tree | e4d274bba1ad7720ce50790a5f0b93c6c12d1a43 /lisp/comint.el | |
| parent | 613fa7f2bda99a6b65e2354e609a145ebafa5dea (diff) | |
| download | emacs-22bcff4e756242e86ba70ec0957b376ad92d6ddc.tar.gz emacs-22bcff4e756242e86ba70ec0957b376ad92d6ddc.zip | |
(comint-send-input):
Create overlays using the proper front/read-advance arguments.
Diffstat (limited to 'lisp/comint.el')
| -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)))) |