summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-08-15 18:13:47 -0400
committerKyle Meyer <kyle@kyleam.com>2018-08-15 18:13:47 -0400
commit16df0bb044b3ddb96e9d981c37569d6b1b890109 (patch)
treef88078a8b3d7d620a11fdfbc19c19ece64cce0d5
parent3c1e03fe8411b32815e1591d905924eb55631d32 (diff)
parent9b9c8367a3d15f56764ccf5a3e32823348e4034f (diff)
downloadbog-16df0bb044b3ddb96e9d981c37569d6b1b890109.tar.gz
Merge pull request #9 from basil-conto/blc/file-error
-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