diff src/lread.c @ 105942:5fc80e6b5b7c

* xfns.c (syms_of_xfns): Use make_pure_string instead of build_string. * xterm.c (syms_of_xterm): * xfaces.c (syms_of_xfaces): * xdisp.c (syms_of_xdisp): * lread.c (syms_of_lread): * keyboard.c (syms_of_keyboard): Use make_pure_c_string instead of build_string. * doc.c (Fsnarf_documentation): Purecopy Vbuild_files.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 11 Nov 2009 06:10:42 +0000
parents 21bdda3ded62
children 0fba14676688
line wrap: on
line diff
--- a/src/lread.c	Wed Nov 11 06:06:43 2009 +0000
+++ b/src/lread.c	Wed Nov 11 06:10:42 2009 +0000
@@ -4330,8 +4330,8 @@
 This list should not include the empty string.
 `load' and related functions try to append these suffixes, in order,
 to the specified file name if a Lisp suffix is allowed or required.  */);
-  Vload_suffixes = Fcons (build_string (".elc"),
-			  Fcons (build_string (".el"), Qnil));
+  Vload_suffixes = Fcons (make_pure_c_string (".elc"),
+			  Fcons (make_pure_c_string (".el"), Qnil));
   DEFVAR_LISP ("load-file-rep-suffixes", &Vload_file_rep_suffixes,
 	       doc: /* List of suffixes that indicate representations of \
 the same file.