From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: emacs-devel@gnu.org
Subject: Re: message-fetch-field vs require
Date: Thu, 24 Dec 2015 18:25:21 +0100 [thread overview]
Message-ID: <87ziwzsqri.fsf@gnus.org> (raw)
In-Reply-To: <86615aet2v.fsf@stephe-leake.org> (Stephen Leake's message of "Thu, 23 Jul 2015 11:28:56 -0500")
Stephen Leake <stephen_leake@stephe-leake.org> writes:
> I've got a function that uses message-fetch-field. The file has (require
> 'message). But the byte compiler still complains:
>
> bzr-gnus.el:155:1:Warning: the following functions might not be defined at
> runtime: message-fetch-field, mm-save-part-to-file
>
> I've tried wrapping the require in "eval-and-compile"; no help.
>
> Can anyone explain what's going on?
No, sounds really odd to me. `message-fetch-field' is a totally normal
function, so if you require `message' (and your load path points to the
version of message.el you're really using), then this shouldn't be
happening...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2015-12-24 17:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-23 16:28 message-fetch-field vs require Stephen Leake
2015-12-24 17:25 ` Lars Ingebrigtsen [this message]
2015-12-24 17:47 ` Alan Mackenzie
2015-12-24 17:56 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ziwzsqri.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=stephen_leake@stephe-leake.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.