aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 0a0f73a9842..3de28f12db4 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1009,11 +1009,14 @@ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]);
1009 symbol = intern ("default-enable-multibyte-characters"); 1009 symbol = intern ("default-enable-multibyte-characters");
1010 Fset (symbol, Qnil); 1010 Fset (symbol, Qnil);
1011 1011
1012 /* Erase pre-dump messages in *Messages* now so no abort. */ 1012 if (initialized)
1013 old_log_max = Vmessage_log_max; 1013 {
1014 XSETFASTINT (Vmessage_log_max, 0); 1014 /* Erase pre-dump messages in *Messages* now so no abort. */
1015 message_dolog ("", 0, 1, 0); 1015 old_log_max = Vmessage_log_max;
1016 Vmessage_log_max = old_log_max; 1016 XSETFASTINT (Vmessage_log_max, 0);
1017 message_dolog ("", 0, 1, 0);
1018 Vmessage_log_max = old_log_max;
1019 }
1017 1020
1018 for (tail = Vbuffer_alist; CONSP (tail); 1021 for (tail = Vbuffer_alist; CONSP (tail);
1019 tail = XCONS (tail)->cdr) 1022 tail = XCONS (tail)->cdr)