mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
* lisp/vc/vc.el (vc-delete-file): Don't backup backup files.
This commit is contained in:
parent
c6e2bd3e3b
commit
8e70e6d687
|
|
@ -5181,7 +5181,9 @@ These are recursively deleted."
|
|||
(backend (if (file-directory-p file)
|
||||
(vc-responsible-backend file)
|
||||
(vc-backend file))))
|
||||
(unless (or (file-directory-p file) (null make-backup-files)
|
||||
(unless (or (file-directory-p file)
|
||||
(null make-backup-files)
|
||||
(backup-file-name-p file)
|
||||
(not (file-exists-p file)))
|
||||
(with-current-buffer (or buf (find-file-noselect file))
|
||||
(let ((backup-inhibited nil))
|
||||
|
|
|
|||
Loading…
Reference in a new issue