diff src/fns.c @ 19223:475cf041a683

(Frequire): Don't insist on a suffix if the file name argument was explicitly specified.
author Richard M. Stallman <rms@gnu.org>
date Fri, 08 Aug 1997 20:06:34 +0000
parents a187f573752d
children 50f47ef6ce9a
line wrap: on
line diff
--- a/src/fns.c	Fri Aug 08 06:42:34 1997 +0000
+++ b/src/fns.c	Fri Aug 08 20:06:34 1997 +0000
@@ -1959,12 +1959,12 @@
       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;