Merge pull request #455 from vanicat/t/read-only-error
inhibit read only when inserting in *Ledger Error*
This commit is contained in:
commit
2b981925e5
1 changed files with 2 additions and 1 deletions
|
|
@ -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)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue