Skip to content

Commit

Permalink
Include cross-referenced keys when getting note items.
Browse files Browse the repository at this point in the history
  • Loading branch information
roshanshariff authored and bdarcus committed Jul 8, 2022
1 parent a7f3593 commit a1c8da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion citar.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit a1c8da0

Please sign in to comment.