changeset 69597:df847a0b85d2

(Fwrite_region): Set visit_file to Qnil before GCPRO it.
author Kenichi Handa <handa@m17n.org>
date Mon, 20 Mar 2006 06:24:58 +0000
parents f646e7ad8c27
children 15befdcdc4e9
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Mon Mar 20 06:24:31 2006 +0000
+++ b/src/fileio.c	Mon Mar 20 06:24:58 2006 +0000
@@ -5009,6 +5009,7 @@
   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);