Skip to content

Commit

Permalink
fix: replace tabs with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad Pedramfar committed Oct 19, 2023
1 parent bcb1d6f commit 2088ad7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions citar.el
Original file line number Diff line number Diff line change
Expand Up @@ -1372,15 +1372,15 @@ See the documentation for `citar-add-file-sources' for more details."
(file-equal-p destfile buffer-file-name))
(if (not (buffer-modified-p))
(message "%s exists and the current buffer is visiting it."
(file-name-nondirectory buffer-file-name))
(file-name-nondirectory buffer-file-name))
(unless ok-if-already-exists
(signal 'file-already-exists
(list "File already exists" destfile)))
(when (or (not (integerp ok-if-already-exists))
(yes-or-no-p
(format
"%s exists and the current buffer is visiting it. Save anyway? "
(file-name-nondirectory buffer-file-name))))
(format
"%s exists and the current buffer is visiting it. Save anyway? "
(file-name-nondirectory buffer-file-name))))
(save-buffer)))
(write-region nil nil destfile
(if ok-if-already-exists
Expand Down

0 comments on commit 2088ad7

Please sign in to comment.