diff src/doc.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 f2cea199b0c4
line wrap: on
line diff
--- a/src/doc.c	Wed Nov 11 06:06:43 2009 +0000
+++ b/src/doc.c	Wed Nov 11 06:10:42 2009 +0000
@@ -619,6 +619,7 @@
         if (len > 0)
           Vbuild_files = Fcons (make_string (beg, len), Vbuild_files);
       }
+    Vbuild_files = Fpurecopy (Vbuild_files);
   }
 
   fd = emacs_open (name, O_RDONLY, 0);