unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Basic question about autoload function
@ 2017-12-06 18:55 Kaushal Modi
  2017-12-06 19:04 ` Drew Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Kaushal Modi @ 2017-12-06 18:55 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hello,

I have recently realized that

  (autoload #'foo-fn "bar-pkg")

works even if foo-fn is *not* defined inside bar-pkg. The documentation
also doesn't say that it has to be that way.

So I was just pleasantly surprised that that did the right thing. I looked
at src/eval.c to confirm if that was the case (that it didn't matter if
foo-fn was or wasn't inside bar-pkg).. but I don't understand what's going
on in there (don't understand C).

Can someone confirm?
-- 

Kaushal Modi


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-08 18:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06 18:55 Basic question about autoload function Kaushal Modi
2017-12-06 19:04 ` Drew Adams
2017-12-06 19:14   ` Kaushal Modi
2017-12-08 13:39     ` Michael Heerdegen
2017-12-08 18:59       ` Kaushal Modi

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