mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 03:39:38 +00:00
Merge pull request from npostavs/master
also check `byte-compile-current-file' for compile time loads, fixes issue https://github.com/jwiegley/use-package/issues/44 GitHub-reference: https://github.com/jwiegley/use-package/issues/45
This commit is contained in:
commit
a56244378f
1 changed files with 5 additions and 4 deletions
|
@ -582,10 +582,11 @@ For full documentation. please see commentary.
|
|||
pkg-load-path)))
|
||||
|
||||
(eval-when-compile
|
||||
(when (bound-and-true-p byte-compile-current-file)
|
||||
,@defines-eval
|
||||
,(if (stringp name)
|
||||
`(load ,name t)
|
||||
`(require ',name nil t)))
|
||||
`(require ',name nil t))))
|
||||
|
||||
,(when (boundp 'el-get-sources)
|
||||
(require 'el-get)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue