summaryrefslogtreecommitdiff
path: root/lisp/ledger-report.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-09-05 20:49:53 -0700
committerCraig Earls <enderw88@gmail.com>2014-09-05 20:49:53 -0700
commite2c07931eda0dd157203f09dc5b05b1efb2b9efc (patch)
tree17a5da04d02d7397603c5758b8dec3d9b824f067 /lisp/ledger-report.el
parentfec5ecb4f34bca2fbfe7f7ee5c1e99a9527db01e (diff)
parent7b993ccc17170bc60c4005c027618797209f4f93 (diff)
downloadfork-ledger-e2c07931eda0dd157203f09dc5b05b1efb2b9efc.tar.gz
fork-ledger-e2c07931eda0dd157203f09dc5b05b1efb2b9efc.tar.bz2
fork-ledger-e2c07931eda0dd157203f09dc5b05b1efb2b9efc.zip
Merge branch 'master' into new-fontification-scheme
Diffstat (limited to 'lisp/ledger-report.el')
-rw-r--r--lisp/ledger-report.el5
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))