diff options
-rw-r--r-- | user/emacs/.emacs.d/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el index fbdcb402..9362f958 100644 --- a/user/emacs/.emacs.d/init.el +++ b/user/emacs/.emacs.d/init.el @@ -699,9 +699,11 @@ _p_rev _u_pper _=_: upper/lower _r_esolve ;;;; ledger (use-package ledger-mode + :gfhook '(ledger-flymake-enable) :config (progn (setq ledger-reconcile-default-commodity "€" ledger-narrow-on-reconcile t + ledger-clear-whole-transactions t ledger-reports `(("Monthly Expenses" "ledger -f %(ledger-file) reg -M \\^Flex --real -X EUR -l \"payee != 'Opening Balances'\"") ("Average Monthly Expenses (Past 12 Months)" ,(concat "ledger -f %(ledger-file) -b " (format-time-string "%Y-%m" (time-add (current-time) (days-to-time -365))) |