Mercurial > emacs
changeset 50492:3a74e250f1a1
(openp): Get the Qfile_exists_p handler for STRING, not FN.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 08 Apr 2003 17:10:07 +0000 |
parents | 15f94db27199 |
children | 8998794f812c |
files | src/lread.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lread.c Tue Apr 08 17:09:23 2003 +0000 +++ b/src/lread.c Tue Apr 08 17:10:07 2003 +0000 @@ -1121,8 +1121,8 @@ handler = Ffind_file_name_handler (filename, Qfile_exists_p); It's not clear why that was the case and it breaks things like (load "/bar.el") where the file is actually "/bar.el.gz". */ - handler = Ffind_file_name_handler (filename, Qfile_exists_p); string = build_string (fn); + handler = Ffind_file_name_handler (string, Qfile_exists_p); if ((!NILP (handler) || !NILP (predicate)) && !NATNUMP (predicate)) { if (NILP (predicate))