diff options
| author | Jan Djärv | 2010-05-02 20:44:04 +0200 |
|---|---|---|
| committer | Jan Djärv | 2010-05-02 20:44:04 +0200 |
| commit | f63d0028c0cb44c5bf4ca7f36b66ab19595f6ecc (patch) | |
| tree | a72ebe53b4ac0a453ee7b37a37f61cfdcc264cc8 /src/buffer.c | |
| parent | 8f92b8ad07a0af0d0fe7784feaa56cf1ff5b16f9 (diff) | |
| download | emacs-f63d0028c0cb44c5bf4ca7f36b66ab19595f6ecc.tar.gz emacs-f63d0028c0cb44c5bf4ca7f36b66ab19595f6ecc.zip | |
Run kill-emacs when exiting for display closed or SIGTERM/HUP.
* 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
shut_down_emacs.
* emacs.c (USAGE1): Mention --chdir.
(main): Handle --chdir.
(standard_args): Add --chdir.
(fatal_error_signal): Call Fkill_emacs for SIGTERM and SIGHUP (Bug
#5552).
* cmdargs.texi (Initial Options): Mention --chdir.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions