• Jan Djärv's avatar
    Run kill-emacs when exiting for display closed or SIGTERM/HUP. · f63d0028
    Jan Djärv authored
    * xsmfns.c (CHDIR_OPT): New define.
    (smc_save_yourself_CB): Add CHDIR_OPT to options to use when
    restarting emacs.
    * xterm.c (x_connection_closed): Call Fkill_emacs instead of
    * emacs.c (USAGE1): Mention --chdir.
    (main): Handle --chdir.
    (standard_args): Add --chdir.
    (fatal_error_signal): Call Fkill_emacs for SIGTERM and SIGHUP (Bug
    * cmdargs.texi (Initial Options): Mention --chdir.
cmdargs.texi 45.7 KB