From: Gerd Moellmann Date: Thu, 30 Aug 2001 13:35:28 +0000 (+0000) Subject: (shut_down_emacs): Don't call check_glyph_memory X-Git-Tag: emacs-pretest-21.0.105~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cd8d41681b74f3876e6ad24d0d6e8c47c71671e3;p=emacs.git (shut_down_emacs): Don't call check_glyph_memory and check_message_stack if temrinating normally. We want glyph matrices etc. in a core dump. --- diff --git a/src/emacs.c b/src/emacs.c index 7a59c1e40c3..47beb426a15 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1912,8 +1912,13 @@ shut_down_emacs (sig, no_x, stuff) term_ntproc (); #endif - check_glyph_memory (); - check_message_stack (); + /* Do this only if terminating normally, we want glyph matrices + etc. in a core dump. */ + if (sig && sig != SIGTERM) + { + check_glyph_memory (); + check_message_stack (); + } #ifdef MSDOS dos_cleanup ();