diff options
| author | Stefan Monnier | 2019-01-14 15:11:45 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2019-01-14 15:11:45 -0500 |
| commit | 1b6ef26eb653c9d1e4fdbd16d314679cdb26e8ae (patch) | |
| tree | 6d0bbab26cf36a44994b5c3677622c6cac0fdd6b | |
| parent | 08634efb6ab1dd43f8818b6b2aeb31ba48cabcf0 (diff) | |
| download | emacs-1b6ef26eb653c9d1e4fdbd16d314679cdb26e8ae.tar.gz emacs-1b6ef26eb653c9d1e4fdbd16d314679cdb26e8ae.zip | |
* lisp/emacs-lisp/package.el (package-activate-all): Fix last change
| -rw-r--r-- | lisp/emacs-lisp/package.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 1c64f5e4a8d..9a7b54fa01a 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." | |||
| 1492 | ;; any decoding). | 1492 | ;; any decoding). |
| 1493 | (let ((load-source-file-function nil)) | 1493 | (let ((load-source-file-function nil)) |
| 1494 | (load package-quickstart-file nil 'nomessage)) | 1494 | (load package-quickstart-file nil 'nomessage)) |
| 1495 | (dolist (elt (package--alist)) | 1495 | (unless package--initialized |
| 1496 | (package-initialize t)) | ||
| 1497 | (dolist (elt package-alist) | ||
| 1496 | (condition-case err | 1498 | (condition-case err |
| 1497 | (package-activate (car elt)) | 1499 | (package-activate (car elt)) |
| 1498 | ;; Don't let failure of activation of a package arbitrarily stop | 1500 | ;; Don't let failure of activation of a package arbitrarily stop |