summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ledger-exec.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ledger-exec.el b/lisp/ledger-exec.el
index 4ba9134d..75a05262 100644
--- a/lisp/ledger-exec.el
+++ b/lisp/ledger-exec.el
@@ -48,7 +48,8 @@
(defun ledger-exec-handle-error (ledger-output)
"Deal with ledger errors contained in LEDGER-OUTPUT."
(with-current-buffer (get-buffer-create "*Ledger Error*")
- (insert-buffer-substring ledger-output)
+ (let ((inhibit-read-only t))
+ (insert-buffer-substring ledger-output))
(view-mode)
(setq buffer-read-only t)))