mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 11:49:37 +00:00
Merge pull request from waymondo/master
:ensure-system-package - allow cdr of cons to be a package name symbol GitHub-reference: https://github.com/jwiegley/use-package/issues/654
This commit is contained in:
commit
e2a322d870
1 changed files with 5 additions and 1 deletions
|
@ -48,7 +48,11 @@
|
||||||
(cons arg (use-package-ensure-system-package-install-command arg)))
|
(cons arg (use-package-ensure-system-package-install-command arg)))
|
||||||
((symbolp arg)
|
((symbolp arg)
|
||||||
(cons arg (use-package-ensure-system-package-install-command (symbol-name arg))))
|
(cons arg (use-package-ensure-system-package-install-command (symbol-name arg))))
|
||||||
((consp arg) arg)))
|
((consp arg)
|
||||||
|
(if (stringp (cdr arg))
|
||||||
|
arg
|
||||||
|
(cons (car arg)
|
||||||
|
(use-package-ensure-system-package-install-command (symbol-name (cdr arg))))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun use-package-normalize/:ensure-system-package (name-symbol keyword args)
|
(defun use-package-normalize/:ensure-system-package (name-symbol keyword args)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue