Closed adamoudad closed 1 year ago
use-package is a macro and so the package
arg you are passing to it is not being evaluated.
You could do something like the following:
(dolist (package packages-no-config)
(eval `(use-package ,package :ensure t) t))
I see! I had to learn how to use a macro.
Sorry for the unrelated issue then, thanks!
Hi,
I want to install a bunch of packages with the same call to
use-package
. I try the following.However the
dolist
sexp does nothing and returnsnil
. My questions areI searched for some code doing what I try to achieve but did not find anything, therefore I am asking here, as I am suspecting this might be an intended behaviour of
use-package
.Thanks for your help. Adam.