Skip to content

Commit c2432dc

Browse files
committed
[core] Keep order of packages to be installed
The installation order of packages got reversed in fbe05e3. Appending is slower than cl-pushnew, of course, but this is the same as what add-to-list did before, and it should not be noticable with a few hundred packages.
1 parent 4f6da92 commit c2432dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/core-configuration-layer.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@ RNAME is the name symbol of another existing layer."
18771877
(when install-deps
18781878
(setq result (append install-deps result))))
18791879
(when (funcall filter pkg-name)
1880-
(cl-pushnew pkg-name result))))
1880+
(setq result (append result (list pkg-name))))))
18811881
(delete-dups result))))
18821882

18831883
(defun configuration-layer//filter-packages-with-deps

0 commit comments

Comments
 (0)