mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
Avoid destructively modifying 'package--builtin-alist'
* lisp/emacs-lisp/package.el (package--upgradeable-packages): Use 'append' instead of 'nconc' to not append the contents of 'package-alist' to 'package--builtin-alist'. (Bug#81242)
This commit is contained in:
parent
ffad15bf73
commit
6464453558
|
|
@ -2186,8 +2186,8 @@ NAME should be a symbol."
|
|||
(package-desc-version (cadr elt))
|
||||
(package-desc-version available)))
|
||||
(not (package-vc-p (cadr elt))))))
|
||||
(nconc (and include-builtins (package--builtin-alist))
|
||||
(package--alist)))))
|
||||
(append (and include-builtins (package--builtin-alist))
|
||||
(package--alist)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun package-upgrade-all (&optional query)
|
||||
|
|
|
|||
Loading…
Reference in a new issue