diff options
author | John Wiegley <johnw@newartisans.com> | 2017-12-05 15:46:55 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2017-12-05 15:46:55 -0800 |
commit | 0c110ebd67b2372263a7cb668e03047905b60ec2 (patch) | |
tree | 784b8257173c5db2b90334a8fac138a9a9d0c583 /lisp/use-package | |
parent | 4882df8285351a30f804e4129aec1be8870bb608 (diff) | |
download | emacs-0c110ebd67b2372263a7cb668e03047905b60ec2.tar.gz emacs-0c110ebd67b2372263a7cb668e03047905b60ec2.tar.bz2 emacs-0c110ebd67b2372263a7cb668e03047905b60ec2.zip |
Allow `:load t' to mean the same as :load of the package name
Diffstat (limited to 'lisp/use-package')
-rw-r--r-- | lisp/use-package/use-package-core.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index 649779bb271..9d55074b19d 100644 --- 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 |