From 3139e03a4079bd1d097fa0cd5194343303d07166 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Mon, 24 Oct 2005 08:50:45 +0000 Subject: [PATCH] (gud-filter): Bind inhibit-read-only to t in case comint-prompt-read-only is set to t. --- lisp/progmodes/gud.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 8f962381d24..de050cf696a 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -2530,7 +2530,7 @@ It is saved for when this flag is not set.") (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))) -- 2.39.5