bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8137: Requiring a file during bytecompilation runs that file's kill-


From: Juanma Barranquero
Subject: bug#8137: Requiring a file during bytecompilation runs that file's kill-emacs-hook.
Date: Mon, 28 Feb 2011 06:13:06 +0100

Package: emacs
Version: 24.0.50


After this change (from a few months ago, but I just discovered):

revno: 101722
committer: Glenn Morris <rgm@gnu.org>
branch nick: trunk
timestamp: Fri 2010-10-01 19:30:11 -0700
message:
  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.


compiling code requiring a file that sets kill-emacs-hook runs that
hook, for example

;;; bug.el
(require 'saveplace)
;;; end of bug.el

emacs -batch -Q -f batch-byte-compile bug.el
Wrote c:/emacs/repo/bug.elc
Wrote c:/my_home/.emacs-places


    Juanma





reply via email to

[Prev in Thread] Current Thread [Next in Thread]