From 35b18d61c7d8005cd333bfa5134a1a35313ded17 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 26 Apr 2014 11:36:40 -0400 Subject: Prompt with bib citekeys in bog-find-citekey-bib When a prefix argument is given to `bog-find-citekey-bib', `bog-pdf-citekeys` was being used to generate the collection of available citekeys instead of`bog-bib-citekeys'. --- bog.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bog.el b/bog.el index 0536630..de7e429 100644 --- a/bog.el +++ b/bog.el @@ -387,7 +387,7 @@ available citekeys. Otherwise, the citekey will be taken from the text under point if it matches `bog-citekey-format' or using `bog-citekey-func'." (interactive "P") - (let ((citekey (or (and arg (bog-select-citekey (bog-pdf-citekeys))) + (let ((citekey (or (and arg (bog-select-citekey (bog-bib-citekeys))) (bog-citekey-from-notes)))) (funcall bog-find-citekey-bib-func citekey))) -- cgit v1.2.3