From: Eli Zaretskii <eliz@gnu.org>
To: Emanuel Berg <moasen@zoho.com>
Cc: 29462-done@debbugs.gnu.org
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 [thread overview]
Message-ID: <83o9nn6632.fsf@gnu.org> (raw)
In-Reply-To: <86shd0h5xq.fsf@zoho.com> (message from Emanuel Berg on Mon, 27 Nov 2017 02:21:53 +0100)
> 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.
prev parent reply other threads:[~2017-11-27 16:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-27 1:21 bug#29462: 24.4; eval-when-compile won't mute warning as says in info doc Emanuel Berg
2017-11-27 2:44 ` Michael Heerdegen
2017-11-27 2:49 ` Emanuel Berg
2017-11-27 16:31 ` Eli Zaretskii
2017-11-27 16:29 ` Eli Zaretskii
2017-11-27 16:26 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83o9nn6632.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=29462-done@debbugs.gnu.org \
--cc=moasen@zoho.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).