From: Juanma Barranquero <lekktu@gmail.com>
To: 8137@debbugs.gnu.org
Subject: bug#8137: Requiring a file during bytecompilation runs that file's kill-emacs-hook.
Date: Mon, 28 Feb 2011 06:13:06 +0100 [thread overview]
Message-ID: <AANLkTi=i6KapVmBwUoHhCP4nu7CUPDRRfeYxRg-TOQ9z@mail.gmail.com> (raw)
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
next reply other threads:[~2011-02-28 5:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 5:13 Juanma Barranquero [this message]
2011-02-28 9:28 ` bug#8137: Requiring a file during bytecompilation runs that file's kill-emacs-hook martin rudalics
2011-02-28 12:27 ` Juanma Barranquero
2011-02-28 14:14 ` martin rudalics
2011-02-28 17:23 ` Chong Yidong
2011-03-03 17:18 ` Juanma Barranquero
2011-03-05 20:24 ` Chong Yidong
2011-03-05 22:34 ` Juanma Barranquero
2011-03-05 23:58 ` Chong Yidong
2011-03-06 0:58 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=i6KapVmBwUoHhCP4nu7CUPDRRfeYxRg-TOQ9z@mail.gmail.com' \
--to=lekktu@gmail.com \
--cc=8137@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).