From: Nick Roberts Date: Mon, 31 Oct 2005 09:30:35 +0000 (+0000) Subject: (gud-filter): Use comint-update-fence to delete X-Git-Tag: emacs-pretest-22.0.90~6165 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ad0fb7d013e9020a701c5c967b4e885fe0b8efc;p=emacs.git (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. --- 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))