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: martin rudalics
Subject: bug#8137: Requiring a file during bytecompilation runs that file's kill-emacs-hook.
Date: Mon, 28 Feb 2011 10:28:12 +0100
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> After this change (from a few months ago, but I just discovered):
>
> revno: 101722
> committer: Glenn Morris <address@hidden>
> 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

Could this be also the cause of

bug#8134: (Some special files were saved without asking)

?

martin





reply via email to

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