From: Heime <heimeborgia@protonmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: RE: [External] : Declaring functions after provide
Date: Fri, 09 Aug 2024 22:24:35 +0000 [thread overview]
Message-ID: <EoCnDk0z1LmDt2iv8KSaGl8x02EqUoaGkzPMo94Jl0NMsOVgaBwCZ8TZjIBfhJAscd5W4MeQwlY_xvXlYbc2k2itZFjVHEjaqoFl1MTpW7w=@protonmail.com> (raw)
In-Reply-To: <DS7PR10MB52322004A15A8CE3B177A802F3BA2@DS7PR10MB5232.namprd10.prod.outlook.com>
Sent with Proton Mail secure email.
On Saturday, August 10th, 2024 at 10:15 AM, Drew Adams <drew.adams@oracle.com> wrote:
> > > > I have a file that contains (provide 'tema) at the end. What will
> > > > happen if I add more function after the aforementioned clause ?
> > >
> > > Nothing.
> >
> > Provided I do not use autoloads and the provide statement is not at the
> > end, right ?
>
>
> Irrelevant. When code `require's the feature, the library with the` provide' is loaded.
> Period.
> ___
>
> The only connection with autoload is this, from
> (elisp) `Named Features':
>
> When a file is loaded to satisfy an autoload, and it stops due
> to an error in the evaluation of its contents, any function
> definitions or ‘provide’ calls that occurred during the load
> are undone.
Had thought that they won't be recognized as part of the feature
until the entire file is loaded.
next prev parent reply other threads:[~2024-08-09 22:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-09 21:03 Declaring functions after provide Heime
2024-08-09 21:46 ` [External] : " Drew Adams
2024-08-09 21:56 ` Heime
2024-08-09 22:15 ` Drew Adams
2024-08-09 22:24 ` Heime [this message]
2024-08-09 22:37 ` Drew Adams
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='EoCnDk0z1LmDt2iv8KSaGl8x02EqUoaGkzPMo94Jl0NMsOVgaBwCZ8TZjIBfhJAscd5W4MeQwlY_xvXlYbc2k2itZFjVHEjaqoFl1MTpW7w=@protonmail.com' \
--to=heimeborgia@protonmail.com \
--cc=drew.adams@oracle.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).