Commit 6f3cc87c authored by steckerhalter's avatar steckerhalter

Merge branch 'package-installed-p-arg' into 'master'

Fix package-installed-p argument

See merge request !12
parents 77758259 fc1c5da0
......@@ -77,7 +77,9 @@ can prevent packages from being updated automatically.")
(if args
(use-package-concat
`((unless (and quelpa-use-package-inhibit-loading-quelpa
(package-installed-p ',name-symbol))
(package-installed-p ',(pcase (car args)
((pred symbolp) (car args))
((pred listp) (car (car args))))))
(apply 'quelpa ',args)))
body)
body)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment