Improve ledger-report-redo buffer type checking.
This commit is contained in:
parent
03de326eff
commit
39089a4882
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ Optional EDIT the command."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((cur-buf (current-buffer)))
|
(let ((cur-buf (current-buffer)))
|
||||||
(if (and ledger-report-auto-refresh
|
(if (and ledger-report-auto-refresh
|
||||||
(string= mode-name "Ledger")
|
(string= (format-mode-line 'mode-name) "Ledger")
|
||||||
(get-buffer ledger-report-buffer-name))
|
(get-buffer ledger-report-buffer-name))
|
||||||
(progn
|
(progn
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue