summaryrefslogtreecommitdiff
path: root/bog.el
diff options
context:
space:
mode:
Diffstat (limited to 'bog.el')
-rw-r--r--bog.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/bog.el b/bog.el
index 00354ff..40235a0 100644
--- a/bog.el
+++ b/bog.el
@@ -265,7 +265,7 @@ The citekey will be taken from the text under point if it matches
(setq staged-pdf (funcall bog-read-file-name
"Select PDF file to rename: ")))
((= 1 num-choices)
- (setq staged-pdf (car choices)))
+ (setq staged-pdf (car staged-pdfs)))
(t
(setq staged-pdf
(expand-file-name (funcall bog-completing-read