Mercurial > emacs
comparison src/lread.c @ 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 | 2a3f4d2a5ccc |
comparison
equal
deleted
inserted
replaced
39808:98efaf9813f4 | 39809:57070445ceac |
---|---|
3546 DEFVAR_LISP ("load-suffixes", &Vload_suffixes, | 3546 DEFVAR_LISP ("load-suffixes", &Vload_suffixes, |
3547 "*List of suffixes to try for files to load. | 3547 "*List of suffixes to try for files to load. |
3548 This list should not include the empty string."); | 3548 This list should not include the empty string."); |
3549 Vload_suffixes = Fcons (build_string (".elc"), | 3549 Vload_suffixes = Fcons (build_string (".elc"), |
3550 Fcons (build_string (".el"), Qnil)); | 3550 Fcons (build_string (".el"), Qnil)); |
3551 default_suffixes = Fcons (empty_string, Qnil); | 3551 /* We don't use empty_string because it's not initialized yet. */ |
3552 default_suffixes = Fcons (build_string (""), Qnil); | |
3552 staticpro (&default_suffixes); | 3553 staticpro (&default_suffixes); |
3553 | 3554 |
3554 DEFVAR_BOOL ("load-in-progress", &load_in_progress, | 3555 DEFVAR_BOOL ("load-in-progress", &load_in_progress, |
3555 "Non-nil iff inside of `load'."); | 3556 "Non-nil iff inside of `load'."); |
3556 | 3557 |