diff options
author | Craig Earls <enderw88@gmail.com> | 2014-09-05 20:24:18 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-09-05 20:24:18 -0700 |
commit | 7b993ccc17170bc60c4005c027618797209f4f93 (patch) | |
tree | c912efcff34df00cb8733ce551ad0a6c2cac21f5 /lisp/ledger-report.el | |
parent | c1598b7de27c5ba5fafc8a5efb1db18fe54d3070 (diff) | |
download | fork-ledger-7b993ccc17170bc60c4005c027618797209f4f93.tar.gz fork-ledger-7b993ccc17170bc60c4005c027618797209f4f93.tar.bz2 fork-ledger-7b993ccc17170bc60c4005c027618797209f4f93.zip |
Fix bough 1075, ledger-mode report do not refresh using key commands
Diffstat (limited to 'lisp/ledger-report.el')
-rw-r--r-- | lisp/ledger-report.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ledger-report.el b/lisp/ledger-report.el index 85f75212..ae45d36d 100644 --- a/lisp/ledger-report.el +++ b/lisp/ledger-report.el @@ -367,8 +367,9 @@ Optional EDIT the command." (interactive) (let ((cur-buf (current-buffer))) (if (and ledger-report-auto-refresh - (string= (format-mode-line 'mode-name) "Ledger") - (get-buffer ledger-report-buffer-name)) + (or (string= (format-mode-line 'mode-name) "Ledger") + (string= (format-mode-line 'mode-name) "Ledger-Report")) + (get-buffer ledger-report-buffer-name)) (progn (pop-to-buffer (get-buffer ledger-report-buffer-name)) |