mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 19:29:37 +00:00
Allow `:load t' to mean the same as :load of the package name
This commit is contained in:
parent
4882df8285
commit
0c110ebd67
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue