From a1c8da00d380287ae44a12a9265eee53687148cd Mon Sep 17 00:00:00 2001 From: Roshan Shariff Date: Fri, 8 Jul 2022 04:28:14 -0600 Subject: [PATCH] Include cross-referenced keys when getting note items. --- citar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citar.el b/citar.el index 713b4158..0dc8017f 100644 --- a/citar.el +++ b/citar.el @@ -611,7 +611,7 @@ CANDIDATES." (links (if (listp links) links (citar-get-links key-or-keys))) (notes (when-let* ((notes) - (keys (if (listp key-or-keys) key-or-keys (list key-or-keys))) + (keys (citar--with-crossref-keys key-or-keys)) (getitems (citar--get-notes-config :items)) (items (funcall getitems keys))) (mapcar (lambda (item) (propertize item 'citar--note t)) items)))