From 14f83bdb07d0fd1b12837ed0e5cf7c99a18b8775 Mon Sep 17 00:00:00 2001 From: N V <44036031+progfolio@users.noreply.github.com> Date: Sun, 7 Jun 2020 01:29:26 -0400 Subject: [PATCH] (fix): org-roam-capture append to existing file (#767) org-roam-capture was querying plist for :file-path instead of :path. See: #766 --- org-roam-capture.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-capture.el b/org-roam-capture.el index 780ab3c..6422376 100644 --- a/org-roam-capture.el +++ b/org-roam-capture.el @@ -340,7 +340,7 @@ This uses the templates defined at `org-roam-capture-templates'." completions)) (res (cdr (assoc title-with-keys completions))) (title (or (plist-get res :title) title-with-keys)) - (file-path (plist-get res :file-path))) + (file-path (plist-get res :path))) (let ((org-roam-capture--info (list (cons 'title title) (cons 'slug (org-roam--title-to-slug title)) (cons 'file file-path)))