Unpreload package-activate-all

See <https://debbugs.gnu.org/80079#49> for my reasoning.

* lisp/emacs-lisp/package-activate.el (package-activate-all):
Unpreload.
This commit is contained in:
Sean Whitton 2026-05-07 14:12:25 +01:00
parent f20e3e473d
commit 0c51be894f

View file

@ -431,7 +431,6 @@ Newer versions are always activated, regardless of FORCE."
"Non-nil if `package-activate-all' has been run.")
;;;###autoload
(progn ;; Make the function usable without loading `package.el'.
(defun package-activate-all ()
"Activate all installed packages.
The variable `package-load-list' controls which packages to load."
@ -460,7 +459,7 @@ The variable `package-load-list' controls which packages to load."
;; `declare-function' is currently not scoped, so if we use
;; it here, we end up with a redefinition warning instead :-)
(with-no-warnings
(package--activate-all)))))))
(package--activate-all))))))
(defun package--activate-all ()
(dolist (elt (package--alist))