mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 19:59:38 +00:00
Change condition that checks if package has been initialized
This commit is contained in:
parent
19474a1711
commit
c42e3f5669
1 changed files with 1 additions and 2 deletions
|
@ -422,8 +422,7 @@ manually updated package."
|
||||||
(add-to-list 'package-pinned-packages (cons package archive-name))
|
(add-to-list 'package-pinned-packages (cons package archive-name))
|
||||||
(error "Archive '%s' requested for package '%s' is not available."
|
(error "Archive '%s' requested for package '%s' is not available."
|
||||||
archive-name package))
|
archive-name package))
|
||||||
(when (and (boundp 'package--initialized)
|
(unless (bound-and-true-p package--initialized)
|
||||||
(not package--initialized))
|
|
||||||
(package-initialize t))))
|
(package-initialize t))))
|
||||||
|
|
||||||
(defun use-package-handler/:pin (name keyword archive-name rest state)
|
(defun use-package-handler/:pin (name keyword archive-name rest state)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue