From: Nick Roberts Date: Mon, 24 Oct 2005 08:50:45 +0000 (+0000) Subject: (gud-filter): Bind inhibit-read-only to t X-Git-Tag: emacs-pretest-22.0.90~6344 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3139e03a4079bd1d097fa0cd5194343303d07166;p=emacs.git (gud-filter): Bind inhibit-read-only to t in case comint-prompt-read-only is set to t. --- 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)))