pass node around instead

This commit is contained in:
Jethro Kuan
2021-04-11 17:10:57 +08:00
parent 866368bfee
commit 516d8dfbf8
4 changed files with 35 additions and 43 deletions

View File

@@ -77,8 +77,10 @@ It opens or creates a note with the given ref.
(raise-frame)
(org-roam-capture-
:keys (plist-get info :template)
:info info
:props `(:ref ,(plist-get info :ref))
:info (list :node (org-roam-node-create :title (plist-get info :title))
:ref (plist-get info :ref)
:body (plist-get info :body))
:props (list :ref (plist-get info :ref))
:templates org-roam-capture-ref-templates)
nil)