diff options
| author | Nick Roberts | 2005-10-24 08:54:18 +0000 |
|---|---|---|
| committer | Nick Roberts | 2005-10-24 08:54:18 +0000 |
| commit | ea35bfd3bd03912e24e0ac9e6e0da29dd1f62ac7 (patch) | |
| tree | f8dce2dc0f31d430c6163b5da7a2fb3d2395b9df | |
| parent | 3139e03a4079bd1d097fa0cd5194343303d07166 (diff) | |
| download | emacs-ea35bfd3bd03912e24e0ac9e6e0da29dd1f62ac7.tar.gz emacs-ea35bfd3bd03912e24e0ac9e6e0da29dd1f62ac7.zip | |
(gdb-send): Bind inhibit-read-only to t
in case comint-prompt-read-only is set to t.
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 3 |
1 files changed, 2 insertions, 1 deletions
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'." | |||
| 802 | "A comint send filter for gdb. | 802 | "A comint send filter for gdb. |
| 803 | This filter may simply queue input for a later time." | 803 | This filter may simply queue input for a later time." |
| 804 | (with-current-buffer gud-comint-buffer | 804 | (with-current-buffer gud-comint-buffer |
| 805 | (remove-text-properties (point-min) (point-max) '(face))) | 805 | (let ((inhibit-read-only t)) |
| 806 | (remove-text-properties (point-min) (point-max) '(face)))) | ||
| 806 | (let ((item (concat string "\n"))) | 807 | (let ((item (concat string "\n"))) |
| 807 | (if gud-running | 808 | (if gud-running |
| 808 | (progn | 809 | (progn |