bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10946: 24.0.94; eval-after-load incompatible change


From: Leo
Subject: bug#10946: 24.0.94; eval-after-load incompatible change
Date: Mon, 05 Mar 2012 18:57:23 +0800

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]