[Top][All Lists]

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

Re: do-after-load-evaluation

From: Romain Francoise
Subject: Re: do-after-load-evaluation
Date: Fri, 23 Jun 2006 10:08:42 +0200

Noah Friedman <address@hidden> writes:

> The following change:

>     2006-05-24  Alan Mackenzie  <address@hidden>

>             * lread.c (Vafter_load_alist): doc-string: state that an element
>             now has a regexp to match file names, not a file name as such.
> breaks backward compatibility because now the after-load forms for "foo"
> will be evaluated when "foobar" is loaded.

You should use `eval-after-load' instead of adding to `after-load-alist'
directly; it builds the following regexp for "foo":


Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter

reply via email to

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