]> git.eshelyaron.com Git - emacs.git/commitdiff
(gud-filter): Use comint-update-fence to delete
authorNick Roberts <nickrob@snap.net.nz>
Mon, 31 Oct 2005 09:30:35 +0000 (09:30 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Mon, 31 Oct 2005 09:30:35 +0000 (09:30 +0000)
old prompt comint-prompt-read-only is t and GDB commands are
issued from tool bar etc.

lisp/progmodes/gud.el

index a0c58260839bd0858684cd5b64029b3b887459eb..c61f3cf96d225914745d93e60978113a080247e4 100644 (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))