unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Why (eval-when-compile (require 'foo)) does not bind functions during compilation?
@ 2015-08-30  4:40 Marcin Borkowski
  2015-08-30 20:03 ` Michael Heerdegen
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2015-08-30  4:40 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

As in the subject.  The manual says that it does define macros from the
library “foo”, but not functions.  Why is that so?  I would think that
the above form actually evaluates the (require 'foo) part during
compilation, so in particular it should evaluate all the defuns there –
but both experiments and manual confirm that I’m wrong.  Where is my
mental model incorrect?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.180.1440909671.19560.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2015-08-30 20:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-30  4:40 Why (eval-when-compile (require 'foo)) does not bind functions during compilation? Marcin Borkowski
2015-08-30 20:03 ` Michael Heerdegen
     [not found] <mailman.180.1440909671.19560.help-gnu-emacs@gnu.org>
2015-08-30  7:23 ` Pascal J. Bourguignon
2015-08-30 19:18   ` Barry Margolin

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).