[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 1b6ef26: * lisp/emacs-lisp/package.el (package-acti

From: Stefan Monnier
Subject: [Emacs-diffs] master 1b6ef26: * lisp/emacs-lisp/package.el (package-activate-all): Fix last change
Date: Mon, 14 Jan 2019 15:11:50 -0500 (EST)

branch: master
commit 1b6ef26eb653c9d1e4fdbd16d314679cdb26e8ae
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/emacs-lisp/package.el (package-activate-all): Fix last change
 lisp/emacs-lisp/package.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 1c64f5e..9a7b54f 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1492,7 +1492,9 @@ The variable `package-load-list' controls which packages 
to load."
       ;; any decoding).
       (let ((load-source-file-function nil))
         (load package-quickstart-file nil 'nomessage))
-    (dolist (elt (package--alist))
+    (unless package--initialized
+      (package-initialize t))
+    (dolist (elt package-alist)
       (condition-case err
           (package-activate (car elt))
         ;; Don't let failure of activation of a package arbitrarily stop

reply via email to

[Prev in Thread] Current Thread [Next in Thread]