From 78f5931e1cc82e7ae2bcf0508cf31d0d1629a8dd Mon Sep 17 00:00:00 2001 From: Titus von der Malsburg Date: Mon, 24 Oct 2022 10:57:17 +0200 Subject: [PATCH] Restore original order of candidates --- bibtex-completion.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibtex-completion.el b/bibtex-completion.el index 28b0199..fe1252d 100644 --- a/bibtex-completion.el +++ b/bibtex-completion.el @@ -579,7 +579,7 @@ fields listed above) as an alist." (message "Done (re)loading bibliography.") (cl-loop for file in files - append (cddr (assoc file bibtex-completion-cache))))) + append (reverse (cddr (assoc file bibtex-completion-cache)))))) (defun bibtex-completion-resolve-crossrefs (files reparsed-files) "Expand all entries with fields from cross-referenced entries in FILES, assuming that only those files in REPARSED-FILES were reparsed whereas the other files in FILES were up-to-date."