# HG changeset patch # User Nick Roberts # Date 1130144058 0 # Node ID 9e9e3aac0fda983d0e2d0e502f25fab2b6734dc2 # Parent 99d33f0ea507cda0006da7d359c5fdefe93b548f (gdb-send): Bind inhibit-read-only to t in case comint-prompt-read-only is set to t. diff -r 99d33f0ea507 -r 9e9e3aac0fda lisp/progmodes/gdb-ui.el --- a/lisp/progmodes/gdb-ui.el Mon Oct 24 08:50:45 2005 +0000 +++ b/lisp/progmodes/gdb-ui.el Mon Oct 24 08:54:18 2005 +0000 @@ -802,7 +802,8 @@ "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