From 4d685029f9a5cea867c3f3057e11a64d442b4fee Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 29 May 2025 20:36:07 +0200 Subject: [PATCH] perf(beancount): speed up flymake checker advice --- 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 a22b9b460..9eba490e9 100644 --- a/modules/lang/beancount/autoload/advice.el +++ b/modules/lang/beancount/autoload/advice.el @@ -263,7 +263,7 @@ will theirs, recursively)." (save-restriction (widen) (with-temp-buffer - (save-excursion (insert-buffer-substring source)) + (save-excursion (insert-buffer-substring-no-properties source)) (save-excursion (while (re-search-forward "^;+# " nil t) (replace-match "" t t)))