[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
find-library-name fails if file (with no extension) exists.
From: |
Juanma Barranquero |
Subject: |
find-library-name fails if file (with no extension) exists. |
Date: |
Tue, 21 Nov 2006 17:22:13 +0100 |
This change from one year ago has an unintended side effect: Emacs
finds the wrong file if a file exists in the path with the same name
and no extension, though the link pointed explicitly to the .el file.
2005-10-25 Romain Francoise <address@hidden>
* emacs-lisp/find-func.el (find-library-name): Also strip
extension if library name ends in .el, to take advantage of
`find-library-suffixes'.
My case: I have nxml-mode installed on site-lisp, and it contains a
file named "VERSION". If I do "M-x describe-variable emacs-version
RET", move onto the "version.el" link and hit enter, Emacs finds
"VERSION" and complains "Unable to find location in file".
I can understand
(find-library-name "version") => /my/site-lips/VERSION
but
(find-library-name "version.el") => /my/site-lisp/VERSION
is beyond weird.
/L/e/k/t/u
- find-library-name fails if file (with no extension) exists.,
Juanma Barranquero <=
- Re: find-library-name fails if file (with no extension) exists., Romain Francoise, 2006/11/21
- Re: find-library-name fails if file (with no extension) exists., Juanma Barranquero, 2006/11/21
- Re: find-library-name fails if file (with no extension) exists., Romain Francoise, 2006/11/21
- Re: find-library-name fails if file (with no extension) exists., Juanma Barranquero, 2006/11/21
- Re: find-library-name fails if file (with no extension) exists., Romain Francoise, 2006/11/22
- Re: find-library-name fails if file (with no extension) exists., Juanma Barranquero, 2006/11/22
- Re: find-library-name fails if file (with no extension) exists., Juanma Barranquero, 2006/11/22
- Re: find-library-name fails if file (with no extension) exists., Romain Francoise, 2006/11/22
- Message not available
- find-library-name fails if file (with no extension) exists., Juanma Barranquero, 2006/11/22
- Re: find-library-name fails if file (with no extension) exists., Romain Francoise, 2006/11/22