mirror of
https://github.com/org-roam/org-roam
synced 2025-08-03 12:27:23 -05:00
fix org-roam-protocol ref capture
This commit is contained in:
@ -72,13 +72,12 @@ It opens or creates a note with the given ref.
|
|||||||
:annotation (org-link-make-string (plist-get info :ref)
|
:annotation (org-link-make-string (plist-get info :ref)
|
||||||
(or (plist-get info :title)
|
(or (plist-get info :title)
|
||||||
(plist-get info :ref)))
|
(plist-get info :ref)))
|
||||||
:initial (or (plist-get info :body)
|
:initial (or (plist-get info :body) ""))
|
||||||
""))
|
|
||||||
(raise-frame)
|
(raise-frame)
|
||||||
(org-roam-capture-
|
(org-roam-capture-
|
||||||
:keys (plist-get info :template)
|
:keys (plist-get info :template)
|
||||||
:info (list :node (org-roam-node-create :title (plist-get info :title))
|
:node (org-roam-node-create :title (plist-get info :title))
|
||||||
:ref (plist-get info :ref)
|
:info (list :ref (plist-get info :ref)
|
||||||
:body (plist-get info :body))
|
:body (plist-get info :body))
|
||||||
:props (list :ref (plist-get info :ref))
|
:props (list :ref (plist-get info :ref))
|
||||||
:templates org-roam-capture-ref-templates)
|
:templates org-roam-capture-ref-templates)
|
||||||
|
Reference in New Issue
Block a user