Commit fdb5bec0 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Frequire): Don't insist on a suffix

if the file name argument was explicitly specified.
parent 8baabd2a
......@@ -1959,12 +1959,12 @@ If FILENAME is omitted, the printname of FEATURE is used as the file name.")
Vautoload_queue = Qt;
Fload (NILP (file_name) ? Fsymbol_name (feature) : file_name,
Qnil, Qt, Qnil, Qt);
Qnil, Qt, Qnil, (NILP (file_name) ? Qt : Qnil));
tem = Fmemq (feature, Vfeatures);
if (NILP (tem))
error ("Required feature %s was not provided",
XSYMBOL (feature)->name->data );
XSYMBOL (feature)->name->data);
/* Once loading finishes, don't undo it. */
Vautoload_queue = Qt;
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