core: sort alphabetically the list of packages to be updated
This commit is contained in:
parent
46c7bce575
commit
8ca9f7a5e5
|
@ -980,7 +980,7 @@ If called with a prefix argument ALWAYS-UPDATE, assume yes to update."
|
||||||
upgrade-count) t)
|
upgrade-count) t)
|
||||||
(mapc (lambda (x)
|
(mapc (lambda (x)
|
||||||
(spacemacs-buffer/append (format "%s\n" x) t))
|
(spacemacs-buffer/append (format "%s\n" x) t))
|
||||||
update-packages)
|
(sort (mapcar 'symbol-name update-packages) 'string<))
|
||||||
(if (and (not always-update)
|
(if (and (not always-update)
|
||||||
(not (yes-or-no-p
|
(not (yes-or-no-p
|
||||||
(format "Do you want to update %s package(s) ? "
|
(format "Do you want to update %s package(s) ? "
|
||||||
|
|
Loading…
Reference in a new issue