[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 4437dbedf7: Fix restart-emacs alarms (Bug#60220)
From: |
Paul Eggert |
Subject: |
emacs-29 4437dbedf7: Fix restart-emacs alarms (Bug#60220) |
Date: |
Sat, 24 Dec 2022 03:23:09 -0500 (EST) |
branch: emacs-29
commit 4437dbedf7bd9d7fc3612ce4ecd96d5a2c653df8
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>
Fix restart-emacs alarms (Bug#60220)
* src/emacs.c (Fkill_emacs): Turn timers off before execing,
so that the re-execed Emacs doesn’t get a timer alarm.
---
src/emacs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/emacs.c b/src/emacs.c
index d8a2863fd9..a2ba4b50f0 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2910,6 +2910,7 @@ killed. */
if (!NILP (restart))
{
+ turn_on_atimers (false);
#ifdef WINDOWSNT
if (w32_reexec_emacs (initial_cmdline, initial_wd) < 0)
#else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 4437dbedf7: Fix restart-emacs alarms (Bug#60220),
Paul Eggert <=