[Top][All Lists]

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

Re: autoload and auto-compression-mode

From: Stefan Monnier
Subject: Re: autoload and auto-compression-mode
Date: Sun, 15 Jan 2006 23:20:21 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

> I think that the following triple of patches should solve your problem
> by removing ".gz" from load-suffixes.  Loading will find foo.gz only
> if it would find foo and nosuffix is nil.  I can install and make the
> necessary accompanying doc changes, if desired.

Hmm... there's something odd in your patches: they only affect
locate-library, not `load' and not `require', so they won't find "foo.gz".

Also the use of jka-compr-* in subr.el seems unclean.  Since the `load' is
in C code the uncleanliness of using jka-compr-* there would be even worse.

Maybe it'd be better to introduce a variable "load-no-suffix-suffixes",
originally set to '("").


reply via email to

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