diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-11-21 14:01:25 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-11-21 14:01:25 +0200 |
commit | 3c407d2919f972a6b03bdb3f30d14cdfa7de06fe (patch) | |
tree | 39b09ec03d59b043d1176d0b065e5fedfb828078 /src/lread.c | |
parent | 3ca44a1ad414c5e5b07f35959ce21f01064476a8 (diff) | |
download | emacs-3c407d2919f972a6b03bdb3f30d14cdfa7de06fe.tar.gz |
; * src/lread.c (Fload): Fix last change.
Diffstat (limited to 'src/lread.c')
-rw-r--r-- | src/lread.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c index bbff21d01d7..a62a42ad1a9 100644 --- a/src/lread.c +++ b/src/lread.c @@ -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. */ |