mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-07 20:59:37 +00:00
use `eval-when-compile' for loading package at compile time, fixes issue
GitHub-reference: https://github.com/jwiegley/use-package/issues/29
This commit is contained in:
parent
e481d97891
commit
ac0c9633bc
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ For full documentation. please see commentary.
|
||||||
(t
|
(t
|
||||||
pkg-load-path)))
|
pkg-load-path)))
|
||||||
|
|
||||||
(when byte-compile-current-file
|
(eval-when-compile
|
||||||
,@defines-eval
|
,@defines-eval
|
||||||
,(if (stringp name)
|
,(if (stringp name)
|
||||||
`(load ,name t)
|
`(load ,name t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue