mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(fix): support %i in org-roam-protocol (#1445)
This commit is contained in:
@ -72,11 +72,11 @@ It opens or creates a note with the given ref.
|
|||||||
(orglink
|
(orglink
|
||||||
(org-link-make-string ref (or (org-string-nw-p title) ref))))
|
(org-link-make-string ref (or (org-string-nw-p title) ref))))
|
||||||
(when org-roam-protocol-store-links
|
(when org-roam-protocol-store-links
|
||||||
(push (list ref title) org-stored-links)
|
(push (list ref title) org-stored-links))
|
||||||
(org-link-store-props :type type
|
(org-link-store-props :type type
|
||||||
:link ref
|
:link ref
|
||||||
:annotation orglink
|
:annotation orglink
|
||||||
:initial body))))
|
:initial body)))
|
||||||
(let* ((org-roam-capture-templates org-roam-capture-ref-templates)
|
(let* ((org-roam-capture-templates org-roam-capture-ref-templates)
|
||||||
(org-roam-capture--context 'ref)
|
(org-roam-capture--context 'ref)
|
||||||
(org-roam-capture--info decoded-alist)
|
(org-roam-capture--info decoded-alist)
|
||||||
|
Reference in New Issue
Block a user