Skip to content

Commit

Permalink
adding more for extra-fields function
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarcus committed Feb 27, 2021
1 parent a416f29 commit 25a604f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bibtex-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,10 @@ for string replacement."
(defun bibtex-completion--get-extra-search-data (candidate)
"Return extended search metadata as string."
;; TODO
;; - add hidden data for search as "invisible" properties
(if bibtex-completion-additional-search-fields
; if the data is present, pull its value(s), join into a single string
for field in (bibtex-completion-additional-search-fields)
(cdr (assoc field (cdr(candidate))))
))

(defun bibtex-completion-candidates ()
Expand Down

0 comments on commit 25a604f

Please sign in to comment.