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 aeee49c..add1f06 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