From 95c1c9018edb9797c0f5d00574d7fc64d1d53824 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 20 Mar 2006 06:26:23 +0000 Subject: [PATCH] (Fwrite_region): Set visit_file to Qnil before GCPRO it. --- src/ChangeLog | 11 +++++++++++ src/fileio.c | 1 + 2 files changed, 12 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 9ab5555e1b1..901ca108b1e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,14 @@ +2006-03-20 Kenichi Handa + + * fileio.c (Fwrite_region): Set visit_file to Qnil before GCPRO + it. + + * keymap.c (map_keymap): Set tail to Qnil before GCPRO it. + + * xfns.c (xg_set_icon): Remove unnecessary GCPRO. + + * xterm.c (x_term_init): Remove unnecessary GCPRO. + 2006-03-19 Kim F. Storm * xdisp.c (set_cursor_from_row): Fix cursor property on overlay string, diff --git a/src/fileio.c b/src/fileio.c index 73dd799f806..14cec5de765 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -5009,6 +5009,7 @@ This does code conversion according to the value of if (!NILP (start) && !STRINGP (start)) validate_region (&start, &end); + visit_file = Qnil; GCPRO5 (start, filename, visit, visit_file, lockname); filename = Fexpand_file_name (filename, Qnil); -- 2.39.2