# HG changeset patch # User Gerd Moellmann # Date 999178528 0 # Node ID 217755d3b31982a8419eb69939f5285b2f6439ea # Parent fe47985d622a3ce5ff9e1a30b37ea10f91391bc4 (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 -r fe47985d622a -r 217755d3b319 src/emacs.c --- a/src/emacs.c Thu Aug 30 12:15:09 2001 +0000 +++ b/src/emacs.c Thu Aug 30 13:35:28 2001 +0000 @@ -1912,8 +1912,13 @@ 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 ();