diff options
Diffstat (limited to 'lisp/use-package/use-package-ensure-system-package.el')
-rw-r--r-- | lisp/use-package/use-package-ensure-system-package.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/use-package/use-package-ensure-system-package.el b/lisp/use-package/use-package-ensure-system-package.el index 48fbde2e20a..81beaec104f 100644 --- a/lisp/use-package/use-package-ensure-system-package.el +++ b/lisp/use-package/use-package-ensure-system-package.el @@ -48,7 +48,11 @@ (cons arg (use-package-ensure-system-package-install-command arg))) ((symbolp 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 (defun use-package-normalize/:ensure-system-package (name-symbol keyword args) |