projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19474a1
)
Change condition that checks if package has been initialized
author
Ivan Goncharov
<kovrik0@gmail.com>
Tue, 19 Jan 2016 21:49:27 +0000
(10:49 +1300)
committer
Ivan Goncharov
<kovrik0@gmail.com>
Tue, 19 Jan 2016 21:51:20 +0000
(10:51 +1300)
lisp/use-package/use-package.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package.el
b/lisp/use-package/use-package.el
index 9eab03dedc32d0b94e216343015998cc622d28d9..8a0921aebd0bcb68c8638fdea55d08ba502dba03 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-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)