core: sort alphabetically the list of packages to be updated

This commit is contained in:
syl20bnr 2016-01-11 10:59:52 -05:00
parent 46c7bce575
commit 8ca9f7a5e5
1 changed files with 1 additions and 1 deletions

View File

@ -980,7 +980,7 @@ If called with a prefix argument ALWAYS-UPDATE, assume yes to update."
upgrade-count) t)
(mapc (lambda (x)
(spacemacs-buffer/append (format "%s\n" x) t))
update-packages)
(sort (mapcar 'symbol-name update-packages) 'string<))
(if (and (not always-update)
(not (yes-or-no-p
(format "Do you want to update %s package(s) ? "