From 8ad57b121831eda8d226faa14ff2ba7ab652849c Mon Sep 17 00:00:00 2001 From: Sean Farley Date: Sun, 7 Mar 2021 22:57:38 -0600 Subject: [PATCH] (fix): support %i in org-roam-protocol (#1445) --- org-roam-protocol.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/org-roam-protocol.el b/org-roam-protocol.el index 2caee41..c058b28 100644 --- a/org-roam-protocol.el +++ b/org-roam-protocol.el @@ -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) - (org-link-store-props :type type - :link ref - :annotation orglink - :initial body)))) + (push (list ref title) org-stored-links)) + (org-link-store-props :type type + :link ref + :annotation orglink + :initial body))) (let* ((org-roam-capture-templates org-roam-capture-ref-templates) (org-roam-capture--context 'ref) (org-roam-capture--info decoded-alist)