]> git.eshelyaron.com Git - emacs.git/commit
Don't abort when terminated by SIGINT in -batch
authorEli Zaretskii <eliz@gnu.org>
Fri, 4 Dec 2020 14:47:49 +0000 (16:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 4 Dec 2020 14:47:49 +0000 (16:47 +0200)
commit190a6853708ab22072437f6ebd93beb3ec1a9ce6
treed8f0b105412516218a8c258a0b495faaca7acfc0
parentf2bd536d36a89dac2a70c6a706d851ff73bcc40f
Don't abort when terminated by SIGINT in -batch

* src/xdisp.c (clear_message_stack): New function.
* src/emacs.c (terminate_due_to_signal): Call clear_message_stack
when we are being shut down by SIGINT under -batch.
* src/lisp.h (clear_message_stack): Add prototype.
src/emacs.c
src/lisp.h
src/xdisp.c