comparison 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
comparison
equal deleted inserted replaced
105941:d1bb0f3aad35 105942:5fc80e6b5b7c
617 len -= 2; /* Just take .o if it ends in .obj */ 617 len -= 2; /* Just take .o if it ends in .obj */
618 618
619 if (len > 0) 619 if (len > 0)
620 Vbuild_files = Fcons (make_string (beg, len), Vbuild_files); 620 Vbuild_files = Fcons (make_string (beg, len), Vbuild_files);
621 } 621 }
622 Vbuild_files = Fpurecopy (Vbuild_files);
622 } 623 }
623 624
624 fd = emacs_open (name, O_RDONLY, 0); 625 fd = emacs_open (name, O_RDONLY, 0);
625 if (fd < 0) 626 if (fd < 0)
626 report_file_error ("Opening doc string file", 627 report_file_error ("Opening doc string file",