changeset 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 0fda8fa5865a
children db9418ba5d32
files src/fns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;