diff options
author | Moritz Ulrich <moritz@tarn-vedra.de> | 2013-12-30 01:41:31 +0100 |
---|---|---|
committer | Moritz Ulrich <moritz@tarn-vedra.de> | 2013-12-30 01:41:31 +0100 |
commit | 9f694169a87d74f204967b68f3822685f5450bad (patch) | |
tree | 2c0f2eba90fd62958134103b1cf4c038329085ce /lisp/ledger-init.el | |
parent | 7dd82f8bacf8dfb8db42a462452c114209a72c9c (diff) | |
download | fork-ledger-9f694169a87d74f204967b68f3822685f5450bad.tar.gz fork-ledger-9f694169a87d74f204967b68f3822685f5450bad.tar.bz2 fork-ledger-9f694169a87d74f204967b68f3822685f5450bad.zip |
ledger-mode: Introduce `ledger-default-date-format'.
Some elisp functions depend on a date-format supplied in ~/.ledgerrc. Change these by introducing a default ("%Y/%m/%d").
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Diffstat (limited to 'lisp/ledger-init.el')
-rw-r--r-- | lisp/ledger-init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ledger-init.el b/lisp/ledger-init.el index d7eeb3f6..f7b65e96 100644 --- a/lisp/ledger-init.el +++ b/lisp/ledger-init.el @@ -30,6 +30,8 @@ (defvar ledger-environment-alist nil) +(defvar ledger-default-date-format "%Y/%m/%d") + (defun ledger-init-parse-initialization (buffer) (with-current-buffer buffer (let (environment-alist) |