help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Basic question about autoload function


From: Kaushal Modi
Subject: Basic question about autoload function
Date: Wed, 06 Dec 2017 18:55:32 +0000

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]