From 4255a210f12ac07c2a7a301b826640f3bbb3a7e9 Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 19 Jun 2023 16:08:13 +0200 Subject: [PATCH] minor beancount fix --- user-global/elisp/beancount.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user-global/elisp/beancount.el b/user-global/elisp/beancount.el index 8cb8302..e3ad3c2 100644 --- a/user-global/elisp/beancount.el +++ b/user-global/elisp/beancount.el @@ -733,7 +733,7 @@ Optionally also look at data in selected FILES." ;; source https://github.com/debanjum/company-ledger/blob/master/company-ledger.el ;; TODO reverse list, newest one first ;; current workaround: keyword and year - ((beancount-looking-at "^[A-za-z ]+" 0 pos) + ((beancount-looking-at "^[A-za-z]+[A-za-z00-9 ]" 0 pos) (list (match-beginning 0) (match-end 0) ; (lambda (c) (company-ledger--fuzzy-word-match arg c)) (company-ledger--get-all-postings)))