From b5942c5d021ffb0d7e7623f252ce6394e03f0e02 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 8 Aug 1997 20:06:34 +0000 Subject: (Frequire): Don't insist on a suffix if the file name argument was explicitly specified. --- src/fns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fns.c') diff --git a/src/fns.c b/src/fns.c index 8387f870036..20eb5bbf2a9 100644 --- a/src/fns.c +++ b/src/fns.c @@ -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; -- cgit v1.2.1