Subject: bug#65719: [PATCH] Pass restart argument to 'kill-emacs-query-functions'

From: Eli Zaretskii <[email-masked]>
Date: Mon, 12 Feb 2024 18:53:28 +0200

> Cc: [email-masked]
> Date: Mon, 12 Feb 2024 15:29:50 +0000
> From:  Ellis Kenyo via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> From 7b18b01b434003e6f25fe8b71d510464b8ac0afd Mon Sep 17 00:00:00 2001
> From: Ellis Kenyo <[email-masked]>
> Date: Mon, 12 Feb 2024 15:25:25 +0000
> Subject: [PATCH] Introduce 'restart-emacs-query-functions'
> 
> * etc/NEWS: Update NEWS file.
> 
> * lisp/files.el (save-buffers-kill-emacs): Add new option
> 'restart-emacs-query-functions' for functions that should be called
> when 'restart' is passed.

Thanks, but can you tell in what cases kill-emacs-query-functions
(which will be called anyway in this case) is not enough?