1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 14:01:43 -08:00

Merge pull request from waymondo/ensure-system-packages-use-package-as-one

GitHub-reference: https://github.com/jwiegley/use-package/issues/774
This commit is contained in:
John Wiegley 2022-08-07 08:58:12 -07:00 committed by GitHub
commit 2967849846

View file

@ -55,7 +55,7 @@
;;;###autoload
(defun use-package-normalize/:ensure-system-package (_name-symbol keyword args)
"Turn `arg' into a list of cons-es of (`package-name' . `install-command')."
(use-package-only-one (symbol-name keyword) args
(use-package-as-one (symbol-name keyword) args
(lambda (_label arg)
(cond
((and (listp arg) (listp (cdr arg)))