Skip to content

Commit

Permalink
Fix: use case-insensitive lookup for bib entry field names.
Browse files Browse the repository at this point in the history
Fixes regression introduced in #634.
  • Loading branch information
roshanshariff committed Aug 1, 2022
1 parent bc61a81 commit 64c332a
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 @@ -910,7 +910,7 @@ present in KEY-OR-ENTRY."
(let ((entry (if (stringp key-or-entry)
(citar-get-entry key-or-entry)
key-or-entry)))
(cdr (assoc-string field entry))))
(cdr (assoc-string field entry 'case-fold))))

(defun citar-get-field-with-value (fields key-or-entry)
"Find the first field among FIELDS that has a value in KEY-OR-ENTRY.
Expand Down

0 comments on commit 64c332a

Please sign in to comment.