Skip to content

Commit 9682858

Browse files
committed
* lisp/startup.el (command-line): Fix last change in package--activated
1 parent 6b4a97c commit 9682858

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lisp/startup.el

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,6 @@ the `--debug-init' option to view a complete error backtrace."
10131013
(when debug-on-error-should-be-set
10141014
(setq debug-on-error debug-on-error-from-init-file))))
10151015

1016-
(defvar package--activated)
1017-
10181016
(defun command-line ()
10191017
"A subroutine of `normal-top-level'.
10201018
Amongst another things, it parses the command-line arguments."
@@ -1235,7 +1233,7 @@ please check its value")
12351233
;; If any package directory exists, initialize the package system.
12361234
(and user-init-file
12371235
package-enable-at-startup
1238-
(not package--activated)
1236+
(not (bound-and-true-p package--activated))
12391237
(catch 'package-dir-found
12401238
(let (dirs)
12411239
(if (boundp 'package-directory-list)

0 commit comments

Comments
 (0)