diff options
-rw-r--r-- | lisp/ledger-report.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ledger-report.el b/lisp/ledger-report.el index 22f31394..85f75212 100644 --- a/lisp/ledger-report.el +++ b/lisp/ledger-report.el @@ -367,7 +367,7 @@ Optional EDIT the command." (interactive) (let ((cur-buf (current-buffer))) (if (and ledger-report-auto-refresh - (string= mode-name "Ledger") + (string= (format-mode-line 'mode-name) "Ledger") (get-buffer ledger-report-buffer-name)) (progn |