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.
This commit is contained in:
parent
121a9ff9f6
commit
4437dbedf7
1 changed files with 1 additions and 0 deletions
|
@ -2910,6 +2910,7 @@ killed. */
|
|||
|
||||
if (!NILP (restart))
|
||||
{
|
||||
turn_on_atimers (false);
|
||||
#ifdef WINDOWSNT
|
||||
if (w32_reexec_emacs (initial_cmdline, initial_wd) < 0)
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue