From b9a96e9c0da9acd33967e4b6282af7aa5d9469f9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 11 Feb 2009 20:36:33 -0400 Subject: Allow the use of days of the week to "entry", e.g: "thu kfc 11". --- lisp/ledger.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisp/ledger.el') 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)))))) -- cgit v1.2.3