diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-11 20:36:33 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-11 20:36:33 -0400 |
commit | b9a96e9c0da9acd33967e4b6282af7aa5d9469f9 (patch) | |
tree | f521c76189dbd5c5c1db79ccb2247eebbae0c05a /lisp/ledger.el | |
parent | e446b0077e00e4e90e1b28d61c9e1e9315525584 (diff) | |
download | ledger-b9a96e9c0da9acd33967e4b6282af7aa5d9469f9.tar.gz ledger-b9a96e9c0da9acd33967e4b6282af7aa5d9469f9.tar.bz2 ledger-b9a96e9c0da9acd33967e4b6282af7aa5d9469f9.zip |
Allow the use of days of the week to "entry", e.g: "thu kfc 11".
Diffstat (limited to 'lisp/ledger.el')
-rw-r--r-- | lisp/ledger.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el index 7021c7df..d5b04712 100644 --- a/lisp/ledger.el +++ b/lisp/ledger.el @@ -1080,6 +1080,9 @@ the default." ((looking-at "^\\s-+\\([*!]\\s-+\\)?[[(]?\\(.\\)") (goto-char (match-beginning 2)) 'transaction) + ((looking-at "^\\(sun\\|mon\\|tue\\|wed\\|thu\\|fri\\|sat\\)\\s-+") + (goto-char (match-end 0)) + 'entry) (t (ignore (goto-char here)))))) |