Change condition that checks if package has been initialized
This commit is contained in:
@@ -422,8 +422,7 @@ manually updated package."
|
||||
(add-to-list 'package-pinned-packages (cons package archive-name))
|
||||
(error "Archive '%s' requested for package '%s' is not available."
|
||||
archive-name package))
|
||||
(when (and (boundp 'package--initialized)
|
||||
(not package--initialized))
|
||||
(unless (bound-and-true-p package--initialized)
|
||||
(package-initialize t))))
|
||||
|
||||
(defun use-package-handler/:pin (name keyword archive-name rest state)
|
||||
|
||||
Reference in New Issue
Block a user