summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-11-26 22:47:15 +0100
committerAlan Pearce2019-11-26 22:47:15 +0100
commita98e86dd38c26432e79482be732ec83082018093 (patch)
tree822b0e4612f3053475cdb7dabbf52b95251d0725 /user/emacs
parentc7dd27626485b49f0d8a87551335784861681547 (diff)
downloadnixfiles-a98e86dd38c26432e79482be732ec83082018093.tar.lz
nixfiles-a98e86dd38c26432e79482be732ec83082018093.tar.zst
nixfiles-a98e86dd38c26432e79482be732ec83082018093.zip
Emacs: update ledger expense accounts
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 15c6ef08..a2c65924 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -704,11 +704,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (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'\"")
+                  ledger-reports `(("Monthly Expenses" "ledger -f %(ledger-file) reg -M \\^Expenses --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)))
-                                                                                    " --monthly --average balance ^Flex"))
-                                   ("Expenses:This Month" "ledger -f %(ledger-file) bal \\^Flex -p \"this month\"")
+                                                                                    " --monthly --average balance ^Expenses"))
+                                   ("Expenses:This Month" "ledger -f %(ledger-file) bal \\^Expenses -p \"this month\"")
                                    ("All Account Balances" "ledger -f %(ledger-file) bal --current -R \\^Assets \\^Liabilities")))))