diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-08-30 13:35:28 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-08-30 13:35:28 +0000 |
commit | cd8d41681b74f3876e6ad24d0d6e8c47c71671e3 (patch) | |
tree | 8e7b5d4e08709c21d8e822be15daf52e186b6449 | |
parent | 92a256311f2b87e54be763f2471d60b4ba12503f (diff) | |
download | emacs-cd8d41681b74f3876e6ad24d0d6e8c47c71671e3.tar.gz |
(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.
-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 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 (); |