Fix bough 1075, ledger-mode report do not refresh using key commands

This commit is contained in:
Craig Earls 2014-09-05 20:24:18 -07:00
parent c1598b7de2
commit 7b993ccc17

View file

@ -367,7 +367,8 @@ 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= (format-mode-line 'mode-name) "Ledger") (or (string= (format-mode-line 'mode-name) "Ledger")
(string= (format-mode-line 'mode-name) "Ledger-Report"))
(get-buffer ledger-report-buffer-name)) (get-buffer ledger-report-buffer-name))
(progn (progn