perf(beancount): speed up flymake checker advice

This commit is contained in:
Henrik Lissner
2025-05-29 20:36:07 +02:00
parent 8667b181fc
commit 4d685029f9

View File

@ -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)))