summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bog.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/bog.el b/bog.el
index 63d1d48..e089e2d 100644
--- a/bog.el
+++ b/bog.el
@@ -717,7 +717,7 @@ controls the default string for the prompt."
(make-directory dir))
(condition-case nil
(rename-file staged-file citekey-file)
- (file-error
+ (file-already-exists
(let ((dir (file-name-directory citekey-file))
(new-file-name
(file-name-nondirectory