aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-01-09 13:46:53 +0000
committerGerd Moellmann2001-01-09 13:46:53 +0000
commit381198220568f3100740fdbf9cba2fe7d573e345 (patch)
treeb5db8ac52130f611597130ce2d777ac21462efcc /src
parent098ec84ae295902dc37ea0fda5dca9900b652a5a (diff)
downloademacs-381198220568f3100740fdbf9cba2fe7d573e345.tar.gz
emacs-381198220568f3100740fdbf9cba2fe7d573e345.zip
(do_auto_save_unwind): Do the pop_message here
instead of in Fdo_auto_save. (Fdo_auto_save): Don't call pop_message.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog16
-rw-r--r--src/fileio.c4
2 files changed, 18 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b980a9524b5..7a36b02cd67 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,19 @@
12001-01-09 Gerd Moellmann <gerd@gnu.org>
2
3 * alloc.c (Fgarbage_collect): Use a record_unwind_protect to
4 ensure that pop_message is called.
5
6 * keyboard.c (Fexecute_extended_command): Use a
7 record_unwind_protect to ensure that pop_message is called.
8
9 * lisp.h (push_message_unwind): Add prototype.
10
11 * xdisp.c (push_message_unwind): New function.
12
13 * fileio.c (do_auto_save_unwind): Do the pop_message here
14 instead of in Fdo_auto_save.
15 (Fdo_auto_save): Don't call pop_message.
16
12001-01-08 Ken Raeburn <raeburn@gnu.org> 172001-01-08 Ken Raeburn <raeburn@gnu.org>
2 18
3 * xfns.c (xpm_load) [!ALLOC_XPM_COLORS]: Declare local variable I 19 * xfns.c (xpm_load) [!ALLOC_XPM_COLORS]: Declare local variable I
diff --git a/src/fileio.c b/src/fileio.c
index 2e4f2f2f801..eb6421a1374 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1,5 +1,5 @@
1/* File IO for GNU Emacs. 1/* File IO for GNU Emacs.
2 Copyright (C) 1985,86,87,88,93,94,95,96,97,98,99,2000 2 Copyright (C) 1985,86,87,88,93,94,95,96,97,98,99,2000, 2001
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -5279,6 +5279,7 @@ do_auto_save_unwind (stream) /* used as unwind-protect function */
5279 if (!NILP (stream)) 5279 if (!NILP (stream))
5280 fclose ((FILE *) (XFASTINT (XCAR (stream)) << 16 5280 fclose ((FILE *) (XFASTINT (XCAR (stream)) << 16
5281 | XFASTINT (XCDR (stream)))); 5281 | XFASTINT (XCDR (stream))));
5282 pop_message ();
5282 return Qnil; 5283 return Qnil;
5283} 5284}
5284 5285
@@ -5474,7 +5475,6 @@ A non-nil CURRENT-ONLY argument means save only current buffer.")
5474 5475
5475 Vquit_flag = oquit; 5476 Vquit_flag = oquit;
5476 5477
5477 pop_message ();
5478 unbind_to (count, Qnil); 5478 unbind_to (count, Qnil);
5479 return Qnil; 5479 return Qnil;
5480} 5480}