From 2ad0fb7d013e9020a701c5c967b4e885fe0b8efc Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Mon, 31 Oct 2005 09:30:35 +0000 Subject: [PATCH] (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. --- lisp/progmodes/gud.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index a0c58260839..c61f3cf96d2 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -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)) -- 2.39.5