mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
perf(beancount): speed up flymake checker advice
This commit is contained in:
@ -263,7 +263,7 @@ will theirs, recursively)."
|
|||||||
(save-restriction
|
(save-restriction
|
||||||
(widen)
|
(widen)
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(save-excursion (insert-buffer-substring source))
|
(save-excursion (insert-buffer-substring-no-properties source))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(while (re-search-forward "^;+# " nil t)
|
(while (re-search-forward "^;+# " nil t)
|
||||||
(replace-match "" t t)))
|
(replace-match "" t t)))
|
||||||
|
Reference in New Issue
Block a user