From: Nick Roberts Date: Mon, 24 Oct 2005 08:54:18 +0000 (+0000) Subject: (gdb-send): Bind inhibit-read-only to t X-Git-Tag: emacs-pretest-22.0.90~6343 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea35bfd3bd03912e24e0ac9e6e0da29dd1f62ac7;p=emacs.git (gdb-send): Bind inhibit-read-only to t in case comint-prompt-read-only is set to t. --- diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index bf09669083d..9b48f7403b3 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -802,7 +802,8 @@ The key should be one of the cars in `gdb-buffer-rules-assoc'." "A comint send filter for gdb. This filter may simply queue input for a later time." (with-current-buffer gud-comint-buffer - (remove-text-properties (point-min) (point-max) '(face))) + (let ((inhibit-read-only t)) + (remove-text-properties (point-min) (point-max) '(face)))) (let ((item (concat string "\n"))) (if gud-running (progn