changeset 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 b48aed230c56
children 9e9e3aac0fda
files lisp/progmodes/gud.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)))