Skip to content

Commit eaa3f37

Browse files
committed
Inhibit read-only when writing to process log
See 32eb9dd. @geraldus
1 parent 7356b23 commit eaa3f37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

haskell-interactive-mode.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,8 @@ don't care when the thing completes as long as it's soonish."
992992
(haskell-session-set session 'next-error-region nil)
993993
(haskell-session-set session 'next-error-locus nil))
994994
(with-current-buffer (get-buffer-create "*haskell-process-log*")
995-
(delete-region (point-min) (point-max))
995+
(let ((inhibit-read-only t))
996+
(delete-region (point-min) (point-max)))
996997
(remove-overlays))))
997998

998999
(defun haskell-interactive-mode-completion-at-point-function ()

0 commit comments

Comments
 (0)