From: Stefan Monnier Date: Tue, 1 Oct 2024 18:46:06 +0000 (-0400) Subject: * lisp/emacs-lisp/package.el (package-isolate): Use `package-activate-all` X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=81987775c609150b3e48f3f4dfc914806fcea390;p=emacs.git * lisp/emacs-lisp/package.el (package-isolate): Use `package-activate-all` `package-initialize` is used to initialize the whole machinery needed to list/download/install/remove packages, whereas here we only need to use the installed packages. (cherry picked from commit ff87166227b2634e45591e8c73db9b102734ab77) --- diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 67d0b127b9c..bb334b94cbb 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -2690,7 +2690,7 @@ the Emacs user directory is set to a temporary directory." `(add-to-list 'package-directory-list ,dir)) (cons package-user-dir package-directory-list)) (setq package-load-list ',package-load-list) - (package-initialize))))))) + (package-activate-all))))))) ;;;; Package description buffer.