diff options
author | John Wiegley <jwiegley@gmail.com> | 2017-10-26 15:22:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 15:22:33 -0700 |
commit | 2b981925e5350022569203c045bd31b6d365d995 (patch) | |
tree | 285465467dcac67a87525b987877d9e12451bbd4 | |
parent | 8bdc0bba7cbd2b1c404553793468ced78170849a (diff) | |
parent | 097abf2be5bb1260b27ce98d66d813f279acf48f (diff) | |
download | fork-ledger-2b981925e5350022569203c045bd31b6d365d995.tar.gz fork-ledger-2b981925e5350022569203c045bd31b6d365d995.tar.bz2 fork-ledger-2b981925e5350022569203c045bd31b6d365d995.zip |
Merge pull request #455 from vanicat/t/read-only-error
inhibit read only when inserting in *Ledger Error*
-rw-r--r-- | lisp/ledger-exec.el | 3 |
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))) |