From: Kaushal Modi <kaushal.modi@gmail.com>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Basic question about autoload function
Date: Wed, 06 Dec 2017 18:55:32 +0000 [thread overview]
Message-ID: <CAFyQvY2a3BOdgTAZz3apuRv3srqmdvsKmGLuom=STHM0ZOgjFw@mail.gmail.com> (raw)
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
next reply other threads:[~2017-12-06 18:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-06 18:55 Kaushal Modi [this message]
2017-12-06 19:04 ` Basic question about autoload function Drew Adams
2017-12-06 19:14 ` Kaushal Modi
2017-12-08 13:39 ` Michael Heerdegen
2017-12-08 18:59 ` Kaushal Modi
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='CAFyQvY2a3BOdgTAZz3apuRv3srqmdvsKmGLuom=STHM0ZOgjFw@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=help-gnu-emacs@gnu.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.
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).