Mercurial > emacs
view src/s/sol2-10.h @ 110694:0554c384e09f
Run kill-emacs-hook in batch mode, and on SIGINT in batch mode.
See thread http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg00795.html
* src/emacs.c (fatal_error_signal): Also run Fkill_emacs on SIGINT.
(main) [!WINDOWSNT]: Handle SIGINT with fatal_error_signal
in batch-mode.
(Fkill_emacs): Doc fix. Also run the hook in batch mode.
(kill-emacs-hook): Doc fix.
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
delete tempfile if interrupted during compilation.
* doc/lispref/os.texi (Killing Emacs): Hook now runs in batch mode.
* etc/NEWS: Mention these changes.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 01 Oct 2010 19:30:11 -0700 |
parents | 6799ec1a7188 |
children | ef719132ddfa |
line wrap: on
line source
/* Handle Solaris 2.10. */ #include "sol2-6.h" /* This is used in list_system_processes. */ #define HAVE_PROCFS 1 /* This is needed for the system_process_attributes implementation. */ #define _STRUCTURED_PROC 1 /* arch-tag: 7c51a134-5469-4d16-aa00-d69224640eeb (do not change this comment) */