summaryrefslogtreecommitdiff
path: root/bog.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-15 15:56:42 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-15 16:04:55 -0500
commit93d0f444da93375de0480fe8e5009f2423040d79 (patch)
treed639d33a4d9c70651df7a410bcf763f410b5f551 /bog.el
parent289b1399a8791eed9dd58b5364a958db1ee2054e (diff)
downloadbog-93d0f444da93375de0480fe8e5009f2423040d79.tar.gz
BUG: Fix renaming staged PDF when one choice
When 4dfcc52 changed remoed the path from choices, this should have been kept as the full path.
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