emacs-31 65eff4fd4f4 2/2: ; Properly initialize 'package-load-list' for 'package-isolate'

Philip Kaludercic <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: emacs-31
commit 65eff4fd4f4d9cb5d9fcd9f88a018b5d2a1ba78e
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>

    ; Properly initialize 'package-load-list' for 'package-isolate'
    
    * lisp/emacs-lisp/package.el (package-isolate): Use the right
    variable to initialize 'package-load-list' in the subprocess.
    This should have been changed in c8d19034a.
---
 lisp/emacs-lisp/package.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 74e46392f84..ddf98675b21 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2708,7 +2708,7 @@ intended for testing Emacs and/or the packages in a clean environment."
                                (append (list package-user-dir)
                                        temp-install-dir
                                        package-directory-list))
-                            (setq package-load-list ',package-load-list)
+                            (setq package-load-list ',load-list)
                             (package--activate-all)))))))
 
 
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.