mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
Change condition that checks if package has been initialized
This commit is contained in:
parent
19474a1711
commit
c42e3f5669
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user