projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4882df8
)
Allow `:load t' to mean the same as :load of the package name
author
John Wiegley
<johnw@newartisans.com>
Tue, 5 Dec 2017 23:46:55 +0000
(15:46 -0800)
committer
John Wiegley
<johnw@newartisans.com>
Tue, 5 Dec 2017 23:46:55 +0000
(15:46 -0800)
lisp/use-package/use-package-core.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package-core.el
b/lisp/use-package/use-package-core.el
index 649779bb2714cc0a3de9d3f72a4a75d3724c7db1..9d55074b19d1ff79ab48406543adacb93d61855d 100644
(file)
--- a/
lisp/use-package/use-package-core.el
+++ b/
lisp/use-package/use-package-core.el
@@
-1244,7
+1244,7
@@
no keyword implies `:all'."
(defun use-package-handler/:load (name keyword arg rest state)
(let ((body (use-package-process-keywords name rest state)))
(cl-dolist (pkg arg)
- (setq body (use-package-require
pkg
nil body)))
+ (setq body (use-package-require
(if (eq t pkg) name pkg)
nil body)))
body))
;;;; :config