emacs-devel
[Top][All Lists]
Advanced

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

Re: do-after-load-evaluation


From: David Kastrup
Subject: Re: do-after-load-evaluation
Date: Fri, 23 Jun 2006 14:14:02 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Romain Francoise <address@hidden> writes:

> David Kastrup <address@hidden> writes:
>
>> Any reason this is not "\\(\\`\\|/\\)foo\\(\\.elc?\\)?\\(\\.gz\\)?\\'"
>> instead (should perform better)?
>
> The regexp is built from `load-suffixes' in a place where we can't use
> regexp-opt, so it's a simple mapconcat...  I'm not sure if performance
> is an important factor in this context, anyway.
>
>> And is there a reason that .elc? is optional?
>
> I don't know about that... it's probably just to make the code do the
> same thing as it did before the change.

Probably to catch (load "foo").  Ok.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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