mirror of
https://github.com/correl/melpa.git
synced 2024-12-23 03:00:12 +00:00
Use "when" instead of "if" in the absence of an "else" expression
This commit is contained in:
parent
f31edc2997
commit
c013231a48
1 changed files with 2 additions and 2 deletions
|
@ -298,8 +298,8 @@ If PKG-INFO is nil, an empty one is created."
|
|||
file-name
|
||||
version)))
|
||||
(print pkg-info)
|
||||
(if (file-exists-p pkgdst)
|
||||
(delete-file pkgdst t))
|
||||
(when (file-exists-p pkgdst)
|
||||
(delete-file pkgdst t))
|
||||
(copy-file pkgsrc pkgdst)
|
||||
(package-build-add-to-archive-contents pkg-info 'single)))
|
||||
(t
|
||||
|
|
Loading…
Reference in a new issue