From 5026de65bb95600f118573b7b60fa28c18cad76a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 23 May 2025 17:16:06 +0200 Subject: [PATCH] refactor(beancount): don't complete commodities from prices Auto-generates price files are a common feature among beancount users; scanning them is a lot of unnecessary work when just reading commodity directives (and operating_currency options) should be more than enough. Amend: 5df769e994aa --- modules/lang/beancount/autoload/advice.el | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/lang/beancount/autoload/advice.el b/modules/lang/beancount/autoload/advice.el index 58ed6cd2c..1e6029cb6 100644 --- a/modules/lang/beancount/autoload/advice.el +++ b/modules/lang/beancount/autoload/advice.el @@ -197,7 +197,6 @@ will theirs, recursively)." (+beancount-completion-table (concat "^\\(?:" beancount-date-regexp "\\s-+commodity\\s-+\\|" - beancount-date-regexp "\\s-+price\\s-+\\|" "option\\s-+\"operating_currency\"\\s-+\"" "\\)\\(" beancount-currency-regexp "\\)") 1 'commodities))))))))