From: Leo <sdl.web@gmail.com>
To: 10946@debbugs.gnu.org
Subject: bug#10946: 24.0.94; eval-after-load incompatible change
Date: Mon, 05 Mar 2012 18:57:23 +0800 [thread overview]
Message-ID: <m1k42ziacs.fsf@gmail.com> (raw)
I recently upgraded to emacs 24 and I noticed some after-load forms not
running any more.
In emacs 23, when provide is invoked, it checks after-load-alist and
runs the matching form.
In emacs 24, the after-load form is guarded by load-file-name and thus
`provide' alone cannot trigger eval'ing after-load form.
One of my after-load forms is related to some code defined via pymacs,
which has no load-file-name. This incompatible change breaks all such
forms related to pymacs.
I don't know how best to fix this.
Leo
next reply other threads:[~2012-03-05 10:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-05 10:57 Leo [this message]
2012-03-05 15:05 ` bug#10946: 24.0.94; eval-after-load incompatible change Stefan Monnier
2012-03-05 16:16 ` Leo
2012-03-05 21:33 ` Stefan Monnier
2012-03-06 15:29 ` Leo
2012-03-06 20:57 ` Stefan Monnier
2012-03-06 23:49 ` Leo
2012-03-07 17:06 ` Stefan Monnier
2012-03-07 20:28 ` Stefan Monnier
2012-03-08 3:21 ` Leo
2012-03-09 18:14 ` Glenn Morris
2012-03-10 2:40 ` Stefan Monnier
2012-03-16 1:29 ` Glenn Morris
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=m1k42ziacs.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=10946@debbugs.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.
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.