diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2018-08-15 10:36:10 +0300 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2018-08-15 10:36:10 +0300 |
commit | 9b9c8367a3d15f56764ccf5a3e32823348e4034f (patch) | |
tree | bc5cf0d8522644cc07adf773b33c9e6f0f5d2188 | |
parent | 6ed4d3edbe771e586d873b826330f3ef23aa1611 (diff) | |
download | bog-9b9c8367a3d15f56764ccf5a3e32823348e4034f.tar.gz |
bog-file-ask-on-conflict: Narrow error condition
Be more specific about the type of error that can be handled.
-rw-r--r-- | bog.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |