diff options
author | Craig Earls <enderw88@gmail.com> | 2014-07-12 21:50:28 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-07-12 21:50:28 -0700 |
commit | 4606bb293dfaf22a3662f197a99499a26f8c097e (patch) | |
tree | cc6658e1a2d609f36fbc0f4b79d619af8faecca5 /lisp/ledger-report.el | |
parent | fc2700daa970a14f2a0551a5d2532ea61a541996 (diff) | |
download | fork-ledger-4606bb293dfaf22a3662f197a99499a26f8c097e.tar.gz fork-ledger-4606bb293dfaf22a3662f197a99499a26f8c097e.tar.bz2 fork-ledger-4606bb293dfaf22a3662f197a99499a26f8c097e.zip |
ledger-redo added as after-save-hook
Diffstat (limited to 'lisp/ledger-report.el')
-rw-r--r-- | lisp/ledger-report.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ledger-report.el b/lisp/ledger-report.el index 9916c085..3c51fc10 100644 --- a/lisp/ledger-report.el +++ b/lisp/ledger-report.el @@ -361,7 +361,8 @@ Optional EDIT the command." "Redo the report in the current ledger report buffer." (interactive) - (if (get-buffer ledger-report-buffer-name) + (if (and (get-buffer ledger-buf) + (get-buffer ledger-report-buffer-name)) (progn (pop-to-buffer (get-buffer ledger-report-buffer-name)) (shrink-window-if-larger-than-buffer) |