Commit ea35bfd3 authored by Nick Roberts's avatar Nick Roberts

(gdb-send): Bind inhibit-read-only to t

in case comint-prompt-read-only is set to t.
parent 3139e03a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment