diff options
author | Craig Earls <enderw88@gmail.com> | 2014-07-29 18:12:07 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-07-29 18:12:07 -0700 |
commit | 39089a4882c025473739a03ba25ea5445b19a804 (patch) | |
tree | 0bb5f0774ed96b553469c7926c4cd0390819ac5e | |
parent | 03de326eff10a9a35196531e50ff2386dc1ad4d7 (diff) | |
download | fork-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.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 |