From: Lars Ingebrigtsen <larsi@gnus.org>
To: Andrew Whatson <whatson@gmail.com>
Cc: 40636@debbugs.gnu.org
Subject: bug#40636: [PATCH] Fix `eval-after-load' hooks not running on eln files.
Date: Sat, 08 Aug 2020 14:53:07 +0200 [thread overview]
Message-ID: <87pn811eq4.fsf@gnus.org> (raw)
In-Reply-To: <20200415035925.1923378-1-whatson@gmail.com> (Andrew Whatson's message of "Wed, 15 Apr 2020 13:59:25 +1000")
Andrew Whatson <whatson@gmail.com> writes:
> After loading, `do-after-load-evaluation' is called with "the absolute
> true name of a file just loaded". The `eval-after-load-helper' hook was
> comparing this with `load-file-name' containing the mangled file name,
> so never running.
>
> * lisp/subr.el (eval-after-load): Compare against `load-true-file-name'
> to properly detect the loading of native-compiled files.
[...]
> - (let ((lfn load-file-name)
> + (let ((lfn load-true-file-name)
This is for the native-comp branch, I guess? I had a look at it, and it
looks like a similar patch was applied the same day this bug report was
filed, so I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2020-08-08 12:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-15 3:59 bug#40636: [PATCH] Fix `eval-after-load' hooks not running on eln files Andrew Whatson
2020-08-08 12:53 ` Lars Ingebrigtsen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pn811eq4.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=40636@debbugs.gnu.org \
--cc=whatson@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.