Mercurial > emacs
changeset 66382:9e9e3aac0fda
(gdb-send): Bind inhibit-read-only to t
in case comint-prompt-read-only is set to t.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Mon, 24 Oct 2005 08:54:18 +0000 |
parents | 99d33f0ea507 |
children | c82982d6cbc4 |
files | lisp/progmodes/gdb-ui.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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