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

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

Re: locate-library doesn't find new compressed el.gz files


From: Romain Francoise
Subject: Re: locate-library doesn't find new compressed el.gz files
Date: Wed, 02 Nov 2005 17:19:31 +0100

"Andrew M. Scott" <address@hidden> writes:

> (locate-library "cc-mode.el") erroneously returns nil, not noticing
> that the cc-mode.el.gz exists.

Is that a problem in practice?

It returns nil because there is no library named "cc-mode.el", there is
a library named "cc-mode.el.gz".  If you specify no extension, it will
use load-suffixes and locate the library correctly.

(All the uses of `locate-library' in Emacs are correct.)

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