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: Wed, 22 Nov 2006 14:54:35 +0100

"Juanma Barranquero" <address@hidden> writes:

> Am I overlooking something obvious?

Yes, the fact that the source of a compiled Lisp file doesn't
necessarily end with ".el".  For example, if you compile a source
file named ~/.emacs, the compiled file is named ~/.emacs.elc.

This is why this function first strips ".elc", then tries to find the
file with a list of suffixes that includes the empty string.

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