diff lisp/progmodes/gud.el @ 66381:99d33f0ea507

(gud-filter): Bind inhibit-read-only to t in case comint-prompt-read-only is set to t.
author Nick Roberts <nickrob@snap.net.nz>
date Mon, 24 Oct 2005 08:50:45 +0000
parents db4304733361
children 902db04fb1b3
line wrap: on
line diff
--- a/lisp/progmodes/gud.el	Mon Oct 24 08:49:16 2005 +0000
+++ b/lisp/progmodes/gud.el	Mon Oct 24 08:50:45 2005 +0000
@@ -2530,7 +2530,7 @@
 	      (save-restriction
 		(widen)
 		(if (marker-buffer gud-delete-prompt-marker)
-		    (progn
+		    (let ((inhibit-read-only t))
 		      (delete-region (process-mark proc)
 				     gud-delete-prompt-marker)
 		      (set-marker gud-delete-prompt-marker nil)))