emacs-devel
[Top][All Lists]
Advanced

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

Re: find-library-name fails if file (with no extension) exists.


From: Romain Francoise
Subject: Re: find-library-name fails if file (with no extension) exists.
Date: Tue, 21 Nov 2006 21:07:48 +0100

"Juanma Barranquero" <address@hidden> writes:

> In other words: when looking for "erc", trying "erc.el" and
> "erc.el.gz" seem sensible. When looking for "erc.el", trying "erc.el"
> and "erc.el.gz" is still sensible; but to try "erc" is absurd. No,
> scratch that: it is a bug :)

Right.

I see now that this change:

2006-02-26  Luc Teirlinck  <address@hidden>

        * emacs-lisp/find-func.el (find-library-name):
        Use `load-file-rep-suffixes' instead of '("").

added ".gz" to the suffixes.

So "foo.el.gz" will be found even when looking for "foo.el".
In other words, my change can be reverted, so I've now done that.

Thanks,

-- 
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]