mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(comint-output-filter): Properly handle the case where the text
surrounded by comint-last-output-overlay was deleted.
This commit is contained in:
parent
25ad137130
commit
5ed65b55a5
1 changed files with 2 additions and 2 deletions
|
|
@ -1490,8 +1490,8 @@ This variable is permanent-local.")
|
|||
;; inserted with insert-before-markers?), and only make
|
||||
;; a new overlay if it hasn't.
|
||||
(unless (and comint-last-output-overlay
|
||||
(= (overlay-end comint-last-output-overlay)
|
||||
(point)))
|
||||
(equal (overlay-end comint-last-output-overlay)
|
||||
(point)))
|
||||
;; Create a new overlay
|
||||
(let ((over (make-overlay ostart (point))))
|
||||
(overlay-put over 'field 'output)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue