summaryrefslogtreecommitdiff
path: root/lisp/ledger-mode.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-07-12 21:50:28 -0700
committerCraig Earls <enderw88@gmail.com>2014-07-12 21:50:28 -0700
commit4606bb293dfaf22a3662f197a99499a26f8c097e (patch)
treecc6658e1a2d609f36fbc0f4b79d619af8faecca5 /lisp/ledger-mode.el
parentfc2700daa970a14f2a0551a5d2532ea61a541996 (diff)
downloadfork-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-mode.el')
-rw-r--r--lisp/ledger-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el
index 014d2d7b..5338427a 100644
--- a/lisp/ledger-mode.el
+++ b/lisp/ledger-mode.el
@@ -337,6 +337,7 @@ With a prefix argument, remove the effective date. "
(set (make-local-variable 'pcomplete-command-completion-function)
'ledger-complete-at-point)
(add-hook 'completion-at-point-functions 'pcomplete-completions-at-point nil t)
+ (add-hook 'after-save-hook 'ledger-report-redo)
;(add-hook 'after-save-hook)
(add-hook 'post-command-hook 'ledger-highlight-xact-under-point nil t)