Commit 3139e03a authored by Nick Roberts's avatar Nick Roberts

(gud-filter): Bind inhibit-read-only to t

in case comint-prompt-read-only is set to t.
parent 11422095
......@@ -2530,7 +2530,7 @@ It is saved for when this flag is not set.")
(save-restriction
(widen)
(if (marker-buffer gud-delete-prompt-marker)
(progn
(let ((inhibit-read-only t))
(delete-region (process-mark proc)
gud-delete-prompt-marker)
(set-marker gud-delete-prompt-marker nil)))
......
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