mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
Merge pull request from PhilHudson/macroexpand
Macroexpand quoted eval-after-load block early GitHub-reference: https://github.com/jwiegley/use-package/issues/13
This commit is contained in:
commit
1a65b11731
@ -499,10 +499,12 @@ For full documentation. please see commentary.
|
||||
,init-body
|
||||
,(unless (null config-body)
|
||||
`(eval-after-load ,name-string
|
||||
'(if ,requires-test
|
||||
(with-elapsed-timer
|
||||
,(format "Configuring package %s" name-string)
|
||||
,config-body))))
|
||||
(quote
|
||||
(if ,requires-test
|
||||
,(macroexpand-all
|
||||
`(with-elapsed-timer
|
||||
,(format "Configuring package %s" name-string)
|
||||
,config-body))))))
|
||||
t))
|
||||
`(if (and ,(or predicate t)
|
||||
,requires-test)
|
||||
|
Loading…
Reference in New Issue
Block a user