From 0199727de5b0c60ef63ad887f632b18f77b4b148 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 24 May 2025 20:09:19 +0200 Subject: [PATCH] fix(beancount): relax prefix on virtual lines Before, virtual includes were only followed if preceded by three semicolons. Only one should do. --- modules/lang/beancount/autoload/advice.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/beancount/autoload/advice.el b/modules/lang/beancount/autoload/advice.el index 1e6029cb6..963317c27 100644 --- a/modules/lang/beancount/autoload/advice.el +++ b/modules/lang/beancount/autoload/advice.el @@ -12,7 +12,7 @@ will theirs, recursively)." (widen) (goto-char (point-min)) (while (re-search-forward - (concat "^" (unless nested? "\\(?:;;;# \\)?") + (concat "^" (unless nested? "\\(?:;+# \\)?") (rx "include" (+ " ") "\"" (group (+ (not "\""))))) nil t) (when-let* ((path (match-string-no-properties 1)))