From 39089a4882c025473739a03ba25ea5445b19a804 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Tue, 29 Jul 2014 18:12:07 -0700 Subject: Improve ledger-report-redo buffer type checking. --- lisp/ledger-report.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3