]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fwrite_region): Set visit_file to Qnil before GCPRO
authorKenichi Handa <handa@m17n.org>
Mon, 20 Mar 2006 06:26:23 +0000 (06:26 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 20 Mar 2006 06:26:23 +0000 (06:26 +0000)
it.

src/ChangeLog
src/fileio.c

index 9ab5555e1b1c38db0be3953aa03a6339f9492f6f..901ca108b1ec60ddc08e9974bfea337088999639 100644 (file)
@@ -1,3 +1,14 @@
+2006-03-20  Kenichi Handa  <handa@m17n.org>
+
+       * 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  <storm@cua.dk>
 
        * xdisp.c (set_cursor_from_row): Fix cursor property on overlay string,
index 73dd799f806038497d53243208790cbf4d0887e7..14cec5de76544129204c04b8dcbdf93b7c8505bd 100644 (file)
@@ -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);