Skip to content

Commit

Permalink
Modify select-key embark bit
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarcus committed Sep 12, 2021
1 parent 88f79f1 commit e0445ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bibtex-actions.el
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ It returns an alist of key-entry, where the entry is a field-value alist."
(lambda (choice)
;; Collect citation keys of selected candidate(s).
(or (cdr (assoc choice candidates))
;; Key is literal coming from embark, just pass it on
choice))
;; REVIEW for embark at-point; how to explain?
(cdr (seq-find (lambda (cand) (equal choice (cadr cand))) candidates))))
chosen)))

(defun bibtex-actions-select-file (files)
Expand Down

0 comments on commit e0445ab

Please sign in to comment.