From 25a604fb850ef0682ecad8b78960e8ff65a7bfed Mon Sep 17 00:00:00 2001 From: Bruce D'Arcus Date: Sat, 27 Feb 2021 08:21:01 -0500 Subject: [PATCH] adding more for extra-fields function --- bibtex-completion.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bibtex-completion.el b/bibtex-completion.el index 858b2a1..da677c7 100644 --- a/bibtex-completion.el +++ b/bibtex-completion.el @@ -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 ()