From 7f453f3fffb924ca4ae3f8d34cabc03fbcae0127 Mon Sep 17 00:00:00 2001 From: Jason May Date: Wed, 3 Aug 2022 21:37:36 -0700 Subject: [PATCH] (fix)promote: promote all metadata to file level (#2246) Without specifying `t`, it is only pushing the PROPERTIES drawer up to the file level, missing any other "planning information, clocking lines and any kind of drawer." We want to promote all of this to the file level. --- org-roam-node.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-node.el b/org-roam-node.el index 8f59873..078956c 100644 --- a/org-roam-node.el +++ b/org-roam-node.el @@ -864,7 +864,7 @@ node." (let ((title (nth 4 (org-heading-components))) (tags (org-get-tags))) (kill-whole-line) - (org-roam-end-of-meta-data) + (org-roam-end-of-meta-data t) (insert "#+title: " title "\n") (when tags (org-roam-tag-add tags)) (org-map-region #'org-promote (point-min) (point-max))