diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-08 20:06:34 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-08 20:06:34 +0000 |
commit | b5942c5d021ffb0d7e7623f252ce6394e03f0e02 (patch) | |
tree | 2c8dc72dcbb1349bd3d6715dcc54d6be3619bb5d /src/fns.c | |
parent | 5119c4da9172d4f5c783d3dca7f8be654f7372a7 (diff) | |
download | emacs-b5942c5d021ffb0d7e7623f252ce6394e03f0e02.tar.gz |
(Frequire): Don't insist on a suffix
if the file name argument was explicitly specified.
Diffstat (limited to 'src/fns.c')
-rw-r--r-- | src/fns.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |