[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29462: 24.4; eval-when-compile won't mute warning as says in info do
From: |
Eli Zaretskii |
Subject: |
bug#29462: 24.4; eval-when-compile won't mute warning as says in info doc |
Date: |
Mon, 27 Nov 2017 18:26:25 +0200 |
> From: Emanuel Berg <moasen@zoho.com>
> Date: Mon, 27 Nov 2017 02:21:53 +0100
>
>
> In (info "(elisp) Warning Tips"), it says
>
> * 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))
>
> However that won't mute the warnings.
> Using (eval-when-compile (require 'cl-lib)) it says
>
> In end of data:
> wrap-search-cp.el:133:1:Warning: the
> function `cl-find-if' might not be defined
> at runtime.
Thanks, fixed.