summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-07-29 18:12:07 -0700
committerCraig Earls <enderw88@gmail.com>2014-07-29 18:12:07 -0700
commit39089a4882c025473739a03ba25ea5445b19a804 (patch)
tree0bb5f0774ed96b553469c7926c4cd0390819ac5e
parent03de326eff10a9a35196531e50ff2386dc1ad4d7 (diff)
downloadfork-ledger-39089a4882c025473739a03ba25ea5445b19a804.tar.gz
fork-ledger-39089a4882c025473739a03ba25ea5445b19a804.tar.bz2
fork-ledger-39089a4882c025473739a03ba25ea5445b19a804.zip
Improve ledger-report-redo buffer type checking.
-rw-r--r--lisp/ledger-report.el2
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