Remove unnecessary macroexpands
This commit is contained in:
parent
7f925dd039
commit
41146c9e41
1 changed files with 3 additions and 4 deletions
|
@ -88,7 +88,7 @@ byte-compilation."
|
||||||
(setq doom-enabled-modules (append doom-enabled-modules (list (cons mode p))))))))
|
(setq doom-enabled-modules (append doom-enabled-modules (list (cons mode p))))))))
|
||||||
`(unless noninteractive
|
`(unless noninteractive
|
||||||
(let (file-name-handler-alist)
|
(let (file-name-handler-alist)
|
||||||
,@(mapcar (lambda (pkg) (macroexpand `(load! ,(car pkg) ,(cdr pkg))))
|
,@(mapcar (lambda (pkg) `(load! ,(car pkg) ,(cdr pkg)))
|
||||||
doom-enabled-modules)
|
doom-enabled-modules)
|
||||||
|
|
||||||
(when (display-graphic-p)
|
(when (display-graphic-p)
|
||||||
|
@ -162,9 +162,8 @@ avoided to speed up startup."
|
||||||
"A `use-package' wrapper, to adhere to the naming conventions of DOOM emacs
|
"A `use-package' wrapper, to adhere to the naming conventions of DOOM emacs
|
||||||
and let-bind `package-name' for the containing forms. Note that packages are
|
and let-bind `package-name' for the containing forms. Note that packages are
|
||||||
deferred by default."
|
deferred by default."
|
||||||
(macroexpand
|
|
||||||
`(let ((package-name ',name))
|
`(let ((package-name ',name))
|
||||||
(use-package ,name ,@plist))))
|
(use-package ,name ,@plist)))
|
||||||
|
|
||||||
(defmacro package! (name &rest plist)
|
(defmacro package! (name &rest plist)
|
||||||
"Wraps around `use-package' (with `quelpa-use-package') and takes the same
|
"Wraps around `use-package' (with `quelpa-use-package') and takes the same
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue