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