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 4fa15d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bibtex-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -522,10 +522,12 @@ 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
))
(cl-loop
for field in (bibtex-completion-additional-search-fields)
(cdr (assoc field (cdr(candidate))))
)))

(defun bibtex-completion-candidates ()
"Read the BibTeX files and return a list of conses, one for each entry.
Expand Down

0 comments on commit 4fa15d0

Please sign in to comment.