From: Kenichi Handa Date: Mon, 20 Mar 2006 06:26:23 +0000 (+0000) Subject: (Fwrite_region): Set visit_file to Qnil before GCPRO X-Git-Tag: emacs-pretest-22.0.90~3495 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=95c1c9018edb9797c0f5d00574d7fc64d1d53824;p=emacs.git (Fwrite_region): Set visit_file to Qnil before GCPRO it. --- 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);