branch: externals/org-transclusion commit db2dd801957e7f306bb3311d8fb640f808e7d293 Author: Joseph Turner <jos...@breatheoutbreathe.in> Commit: Joseph Turner <jos...@breatheoutbreathe.in>
tidy: Avoid spurious compilation warning --- org-transclusion-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-transclusion-html.el b/org-transclusion-html.el index c3e0759d08..d267b8b46d 100644 --- a/org-transclusion-html.el +++ b/org-transclusion-html.el @@ -152,7 +152,7 @@ Pandoc output." ;; entry. Unless the current property drawer is malformed, which ;; shouldn't happen in Pandoc output, it should work. (re-search-forward org-property-drawer-re) - (setf (buffer-substring (match-beginning 0) (match-end 0)) "")))))) + (delete-region (match-beginning 0) (match-end 0))))))) ;;;; Footer