From 0c110ebd67b2372263a7cb668e03047905b60ec2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 5 Dec 2017 15:46:55 -0800 Subject: [PATCH] Allow `:load t' to mean the same as :load of the package name --- lisp/use-package/use-package-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2