A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Hot answers tagged


Noe that the warnings you see are real: your code happens to work because you're lucky enough that it doesn't get byte-compiled, but if for some reason it gets byte-compiled then it won't work any more (unless flycheck was loaded already when the code got byte-compiled). So to fix your code "right", you have two options: add a (eval-when-compile (require '...


The point of require is not lazy-loading (that would be autoload instead). Instead, the purpose is to avoid loading the same package multiple times. In the case of config files, which of load or require is preferable is unclear and will depend on your particular use case (but I think in most cases the difference will be negligible).

Only top voted, non community-wiki answers of a minimum length are eligible