GNU bug report logs -
#40636
[PATCH] Fix `eval-after-load' hooks not running on eln files.
Previous Next
Reported by: Andrew Whatson <whatson <at> gmail.com>
Date: Wed, 15 Apr 2020 05:31:01 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Andrew Whatson <whatson <at> 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
This bug report was last modified 5 years and 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.