From 7b993ccc17170bc60c4005c027618797209f4f93 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Fri, 5 Sep 2014 20:24:18 -0700 Subject: Fix bough 1075, ledger-mode report do not refresh using key commands --- lisp/ledger-report.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp/ledger-report.el') 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)) -- cgit v1.2.3