help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eval-when-compile and require


From: Stefan Monnier
Subject: Re: eval-when-compile and require
Date: Tue, 21 Nov 2017 21:42:00 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I'm reading on with the intention of preparing
> the pack for MELPA and now it says [1]

>     If you use many functions and variables
>     from a certain file, you can add
>     a ‘require’ for that package to avoid
>     compilation warnings for them.
>     For instance,

>               (eval-when-compile
>                 (require 'foo))
[...]
> [1] (info "(elisp) Warning Tips")

I suggest you M-x report-emacs-bug, since that doc is incorrect (you'll
still get warnings along the lines of "those functions are not known to
be defined at runtime").


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]