aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2001-11-17 21:08:52 +0000
committerRichard M. Stallman2001-11-17 21:08:52 +0000
commit65b7d3e7a74dc76b39f5b16a1467abba12ae1b88 (patch)
tree52eff98c454dc37775afe3f00aa1110d91d56390 /src
parent555f1a326a00aeb520804fab6e237ecab31a035d (diff)
downloademacs-65b7d3e7a74dc76b39f5b16a1467abba12ae1b88.tar.gz
emacs-65b7d3e7a74dc76b39f5b16a1467abba12ae1b88.zip
(Fwrite_region): Avoid initializer for Lisp_Object.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/fileio.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 33c47ba0d04..678e80bb216 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12001-11-17 Richard M. Stallman <rms@gnu.org>
2
3 * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object.
4
12001-11-17 Jason Rumney <jasonr@gnu.org> 52001-11-17 Jason Rumney <jasonr@gnu.org>
2 6
3 * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. 7 * xterm.c (notice_overwritten_cursor): Take care of end < 0 case.
diff --git a/src/fileio.c b/src/fileio.c
index 9f7c72e2221..93aae5da502 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4680,7 +4680,7 @@ This does code conversion according to the value of
4680#endif /* VMS */ 4680#endif /* VMS */
4681 Lisp_Object handler; 4681 Lisp_Object handler;
4682 Lisp_Object visit_file; 4682 Lisp_Object visit_file;
4683 Lisp_Object annotations = Qnil; 4683 Lisp_Object annotations;
4684 Lisp_Object encoded_filename; 4684 Lisp_Object encoded_filename;
4685 int visiting = (EQ (visit, Qt) || STRINGP (visit)); 4685 int visiting = (EQ (visit, Qt) || STRINGP (visit));
4686 int quietly = !NILP (visit); 4686 int quietly = !NILP (visit);
@@ -4718,6 +4718,8 @@ This does code conversion according to the value of
4718 if (NILP (lockname)) 4718 if (NILP (lockname))
4719 lockname = visit_file; 4719 lockname = visit_file;
4720 4720
4721 annotations = Qnil;
4722
4721 GCPRO5 (start, filename, annotations, visit_file, lockname); 4723 GCPRO5 (start, filename, annotations, visit_file, lockname);
4722 4724
4723 /* If the file name has special constructs in it, 4725 /* If the file name has special constructs in it,