Don't ever pass the newish "trash" flag to #'delete-file

See https://github.com/cask/cask/issues/209
This commit is contained in:
Steve Purcell 2014-04-22 16:02:56 +01:00
parent 9cac36b71f
commit 21e23ae549

View file

@ -951,7 +951,7 @@ Returns the archive entry for the package."
(error "Single file %s does not match package name %s"
(file-name-nondirectory pkg-source) package-name))
(when (file-exists-p pkg-target)
(delete-file pkg-target t))
(delete-file pkg-target))
(copy-file pkg-source pkg-target)
(let ((enable-local-variables nil)
(make-backup-files nil))