Commit c4bf57f3 authored by tsuucat's avatar tsuucat

Fix package-installed-p argument

parent 77758259
......@@ -77,7 +77,9 @@ can prevent packages from being updated automatically.")
(if args
`((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)))
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