(fix): support %i in org-roam-protocol (#1445)

This commit is contained in:
Sean Farley
2021-03-07 22:57:38 -06:00
committed by GitHub
parent 0b964ca428
commit 8ad57b1218

View File

@ -72,11 +72,11 @@ It opens or creates a note with the given ref.
(orglink
(org-link-make-string ref (or (org-string-nw-p title) ref))))
(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
:link ref
:annotation orglink
:initial body))))
:initial body)))
(let* ((org-roam-capture-templates org-roam-capture-ref-templates)
(org-roam-capture--context 'ref)
(org-roam-capture--info decoded-alist)