diff options
author | Gerd Moellmann <[email protected]> | 2001-08-30 13:35:28 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2001-08-30 13:35:28 +0000 |
commit | cd8d41681b74f3876e6ad24d0d6e8c47c71671e3 (patch) | |
tree | 8e7b5d4e08709c21d8e822be15daf52e186b6449 /src/emacs.c | |
parent | 92a256311f2b87e54be763f2471d60b4ba12503f (diff) |
(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.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/emacs.c b/src/emacs.c index 7a59c1e40c..47beb426a1 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 (); |