summaryrefslogtreecommitdiff
path: root/lisp/ldg-exec.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ldg-exec.el')
-rw-r--r--lisp/ldg-exec.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-exec.el b/lisp/ldg-exec.el
index c9bf92ba..f6c3bb54 100644
--- a/lisp/ldg-exec.el
+++ b/lisp/ldg-exec.el
@@ -45,7 +45,7 @@
(with-current-buffer (get-buffer-create "*Ledger Error*")
(insert-buffer-substring ledger-output)
(view-mode)
- (toggle-read-only)))
+ (setq buffer-read-only t)))
(defun ledger-exec-success-p (ledger-output-buffer)
(with-current-buffer ledger-output-buffer