aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorDan Nicolaescu2009-11-11 06:10:42 +0000
committerDan Nicolaescu2009-11-11 06:10:42 +0000
commita4ada374d6f96b5a7b9fe8df57307fae3fcd3351 (patch)
treea574ca978f9298d0866d1181223566fc932a52a6 /src/doc.c
parent04991a1c0d1e23391f5d88d3e5007e352c1ab3cb (diff)
downloademacs-a4ada374d6f96b5a7b9fe8df57307fae3fcd3351.tar.gz
emacs-a4ada374d6f96b5a7b9fe8df57307fae3fcd3351.zip
* 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.
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc.c b/src/doc.c
index dd933909f7a..30b909b8ce8 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -619,6 +619,7 @@ the same file name is found in the `doc-directory'. */)
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);