mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
Make packages! accept list of package names (non lists)
This convenience macro lets you specify multiple packages with one block, e.g. (packages! rtags ivy-rtags glsl-mode) Each entry can be a full recipe. (packages! (rtags :disable t) (glsl-mode :recipe (...)))
This commit is contained in:
@@ -635,7 +635,7 @@ packages at once.
|
||||
|
||||
Only use this macro in a module's packages.el file."
|
||||
(doom--assert-stage-p 'packages #'packages!)
|
||||
`(progn ,@(cl-loop for desc in packages collect `(package! ,@desc))))
|
||||
`(progn ,@(cl-loop for desc in packages collect `(package! ,@(doom-enlist desc)))))
|
||||
|
||||
(defmacro disable-packages! (&rest packages)
|
||||
"A convenience macro like `package!', but allows you to disable multiple
|
||||
|
Reference in New Issue
Block a user