Skip to content

Commit

Permalink
add bibtex-actions-history
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarcus committed Apr 29, 2021
1 parent d6882c2 commit 31f60e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bibtex-actions.el
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ may be indicated with the same icon but a different face."
:group 'bibtex-actions
:type 'string)

(defvar bibtex-actions-history nil
"Search history for `bibtex-actions'.")

;;; Keymap

(defvar bibtex-actions-map
Expand Down Expand Up @@ -123,7 +126,7 @@ candidate list"
(affixation-function . bibtex-actions--affixation)
(category . bibtex))
(complete-with-action action candidates string predicate)))
nil nil initial nil nil nil)))
nil nil initial 'bibtex-actions-history nil nil)))
(cl-loop for choice in chosen
;; Collect citation keys of selected candidate(s).
collect (cdr (assoc choice candidates)))))
Expand Down

0 comments on commit 31f60e6

Please sign in to comment.