diff --git a/org-roam-protocol.el b/org-roam-protocol.el index 009a591..343305d 100644 --- a/org-roam-protocol.el +++ b/org-roam-protocol.el @@ -72,13 +72,12 @@ It opens or creates a note with the given ref. :annotation (org-link-make-string (plist-get info :ref) (or (plist-get info :title) (plist-get info :ref))) - :initial (or (plist-get info :body) - "")) + :initial (or (plist-get info :body) "")) (raise-frame) (org-roam-capture- :keys (plist-get info :template) - :info (list :node (org-roam-node-create :title (plist-get info :title)) - :ref (plist-get info :ref) + :node (org-roam-node-create :title (plist-get info :title)) + :info (list :ref (plist-get info :ref) :body (plist-get info :body)) :props (list :ref (plist-get info :ref)) :templates org-roam-capture-ref-templates)