view msdos/sedalloc.inp @ 108213:e6266e624471

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.
author Jan D. <jan.h.d@swipnet.se>
date Sun, 02 May 2010 20:44:04 +0200
parents 1d1d5d9bd884
children 376148b31b5e
line wrap: on
line source

# -sedalloc.inp-----------------------------------------------------------
# Configuration script for SYSTEM_MALLOC/REL_ALLOC in src/config.h
# ----------------------------------------------------------------------
#
# Copyright (C) 2008, 2009, 2010  Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#
# This file is free software; as a special exception, the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# ----------------------------------------------------------------------
/^#define GNU_MALLOC  *1 *$/s|^.*$|/* #undef GNU_MALLOC */|
/^#define REL_ALLOC.*$/a\
\
/* Inserted by the --with-system-malloc switch to config.bat.  */\
#define SYSTEM_MALLOC 1
/^#define REL_ALLOC  *1 *$/s|^.*$|/* #undef REL_ALLOC */|

# arch-tag: 20b3ad5d-fcd7-4751-aa34-e94e770ded87