changeset 39809:57070445ceac

(syms_of_lread): Fix init of default_suffixes.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 12 Oct 2001 03:22:02 +0000
parents 98efaf9813f4
children 4b565579e4f5
files src/lread.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Fri Oct 12 03:18:05 2001 +0000
+++ b/src/lread.c	Fri Oct 12 03:22:02 2001 +0000
@@ -3548,7 +3548,8 @@
 This list should not include the empty string.");
   Vload_suffixes = Fcons (build_string (".elc"),
 			  Fcons (build_string (".el"), Qnil));
-  default_suffixes = Fcons (empty_string, Qnil);
+  /* We don't use empty_string because it's not initialized yet.  */
+  default_suffixes = Fcons (build_string (""), Qnil);
   staticpro (&default_suffixes);
 
   DEFVAR_BOOL ("load-in-progress", &load_in_progress,