mirror of
https://github.com/correl/melpa.git
synced 2024-12-18 11:06:10 +00:00
Prefer mapc over dolist when an iteration variable is not required
This commit is contained in:
parent
66b342dc84
commit
ae8e8ec191
1 changed files with 1 additions and 2 deletions
|
@ -576,8 +576,7 @@ of the same-named package which is to be kept."
|
|||
(stale-archives (loop for built in package-build-archive-alist
|
||||
when (not (memq (car built) known-package-names))
|
||||
collect built)))
|
||||
(dolist (stale stale-archives)
|
||||
(pb/remove-archive stale))))
|
||||
(mapc 'pb/remove-archive stale-archives)))
|
||||
|
||||
(defun package-build-initialize ()
|
||||
"Load the recipe and archive-contents files."
|
||||
|
|
Loading…
Reference in a new issue