Commit 3c407d29 authored by Eli Zaretskii's avatar Eli Zaretskii

; * src/lread.c (Fload): Fix last change.

parent 3ca44a1a
......@@ -1087,7 +1087,10 @@ Return t if the file exists and loads successfully. */)
/* Don't insist on adding a suffix if FILE already ends with one. */
if (suffix_p (file, ".el")
|| suffix_p (file, ".elc")
|| suffix_p (file, MODULES_SUFFIX))
#ifdef HAVE_MODULES
|| suffix_p (file, MODULES_SUFFIX)
#endif
)
must_suffix = Qnil;
/* Don't insist on adding a suffix
if the argument includes a directory name. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment