From 7280e44dc57b718e6723dc641dd3bb2cd4bdf00b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 9 Jun 2025 17:59:40 +0200 Subject: [PATCH] fix(beancount): link completion Due to not escaping the literal ^ in the regexp. Fix: #8414 Amend: d3e8ca8d9d20 --- 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 4b2ab2f08..87c9f1541 100644 --- a/modules/lang/beancount/autoload/advice.el +++ b/modules/lang/beancount/autoload/advice.el @@ -191,7 +191,7 @@ will theirs, recursively)." (<= pos (match-end 1)))) (list (match-beginning 1) (match-end 1) (+beancount-completion-table - (concat " \\(" (match-string-no-properties 2) "[" beancount-tag-chars "]+\\)") + (concat " \\(" (regexp-quote (match-string-no-properties 2)) "[" beancount-tag-chars "]+\\)") 1 (if (equal (match-string-no-properties 2) "#") 'tags 'links)))) ((progn