Commit 1ae01e5b authored by Radon Rosborough's avatar Radon Rosborough

Try harder not to load quelpa

The previous commit made it so that quelpa was not loaded when
quelpa-use-package was required. This commit makes it so that quelpa
is not even loaded when a use-package form with a :quelpa keyword in
it is evaluated, unless the package actually needs to be installed.
parent 82b54948
......@@ -69,7 +69,8 @@
;; compiled or evaluated.
(if args
(use-package-concat
`((apply 'quelpa ',args))
`((unless (package-installed-p ',name-symbol)
(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