(gud-filter): Use comint-update-fence to delete

old prompt comint-prompt-read-only is t and GDB commands are
issued from tool bar etc.
This commit is contained in:
Nick Roberts 2005-10-31 09:30:35 +00:00
parent f99cf679b3
commit 2ad0fb7d01

View file

@ -2536,6 +2536,7 @@ It is saved for when this flag is not set.")
(let ((inhibit-read-only t))
(delete-region (process-mark proc)
gud-delete-prompt-marker)
(comint-update-fence)
(set-marker gud-delete-prompt-marker nil)))
;; Save the process output, checking for source file markers.
(setq output (gud-marker-filter string))