From ea35bfd3bd03912e24e0ac9e6e0da29dd1f62ac7 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Mon, 24 Oct 2005 08:54:18 +0000 Subject: [PATCH] (gdb-send): Bind inhibit-read-only to t in case comint-prompt-read-only is set to t. --- lisp/progmodes/gdb-ui.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5