bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: me
Subject: bug#65719: [PATCH] Pass restart argument to 'kill-emacs-query-functions'
Date: Sun, 03 Sep 2023 20:28:34 +0100

Hi all,

Small change here to pass the restart status to 'kill-emacs-query-functions' in 'save-buffers-kill-emacs' so any functions there can react to being restarted, sample use-case this may be useful is if one is using a package like perspective.el to handle buffer/window management and when calling `M-x restart-emacs` you WANT your last session to be persisted, but just starting Emacs normally you don't.

There are other potential use-cases for this too, so hopefully this patch is well-received.

Thanks all,

Ellis (@lkn)

Attachment: 0001-Add-restart-argument-to-kill-emacs-query-functions.patch
Description: Text Data


reply via email to

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