changeset 66578:ed2aec2424ae

(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.
author Nick Roberts <nickrob@snap.net.nz>
date Mon, 31 Oct 2005 09:30:35 +0000
parents 8be29c332588
children 621fdbc28285
files lisp/progmodes/gud.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gud.el	Mon Oct 31 09:28:48 2005 +0000
+++ b/lisp/progmodes/gud.el	Mon Oct 31 09:30:35 2005 +0000
@@ -2536,6 +2536,7 @@
 		    (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))