mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-09 09:16:02 -08:00
Merge pull request from npostavs/master
Byte compilation, fixes for https://github.com/jwiegley/use-package/issues/29 and https://github.com/jwiegley/use-package/issues/30 GitHub-reference: https://github.com/jwiegley/use-package/issues/43
This commit is contained in:
commit
3d0b14eac2
1 changed files with 7 additions and 7 deletions
|
|
@ -581,7 +581,7 @@ For full documentation. please see commentary.
|
|||
(t
|
||||
pkg-load-path)))
|
||||
|
||||
(when byte-compile-current-file
|
||||
(eval-when-compile
|
||||
,@defines-eval
|
||||
,(if (stringp name)
|
||||
`(load ,name t)
|
||||
|
|
@ -637,12 +637,12 @@ For full documentation. please see commentary.
|
|||
,init-body
|
||||
,(unless (null config-body)
|
||||
`(eval-after-load ,name-string
|
||||
(quote
|
||||
(if ,requires-test
|
||||
,(macroexpand-all
|
||||
`(with-elapsed-timer
|
||||
,(format "Configuring package %s" name-string)
|
||||
,config-body))))))
|
||||
`(,(lambda ()
|
||||
(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…
Add table
Add a link
Reference in a new issue