GNU bug report logs - #29462
24.4; eval-when-compile won't mute warning as says in info doc

Previous Next

Package: emacs;

Reported by: Emanuel Berg <moasen <at> zoho.com>

Date: Mon, 27 Nov 2017 01:23:01 UTC

Severity: minor

Found in version 24.4

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 29462-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Emanuel Berg <moasen <at> zoho.com>
Cc: 29462-done <at> debbugs.gnu.org
Subject: Re: 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 <at> 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.




This bug report was last modified 7 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.