• Andreas Schwab's avatar
    Don't call Lisp in signal handler · 6c07aac2
    Andreas Schwab authored
    * emacs.c (Qkill_emacs): Define.
    (syms_of_emacs): Initialize it.
    * keyboard.c (interrupt_signal): Don't call Fkill_emacs here, set
    Qquit_flag to `kill-emacs' instead.
    (quit_throw_to_read_char): Add parameter `from_signal'.  All
    callers changed.  Call Fkill_emacs if requested and safe.
    * lisp.h (QUIT): Call Fkill_emacs if requested.
    6c07aac2
ChangeLog 346 KB