From 93d0f444da93375de0480fe8e5009f2423040d79 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 15 Feb 2014 15:56:42 -0500 Subject: 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. --- bog.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bog.el') 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 -- cgit v1.2.3