From 74646d1d1cf807b5fb534c38dbe65c58d31416d0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 28 Nov 2015 15:43:07 +0200 Subject: [PATCH] Finalize documentation of 'custom-prompt-customize-unsaved-options' * doc/emacs/custom.texi (Saving Customizations): Index the new function 'custom-prompt-customize-unsaved-options'. * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options' is useful. --- doc/emacs/custom.texi | 2 ++ etc/NEWS | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 8441c889bbf..30e040195e8 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -403,6 +403,8 @@ customizations in your initialization file. This is because saving customizations from such a session would wipe out all the other customizations you might have on your initialization file. +@cindex unsaved customizations, reminder to save +@findex custom-prompt-customize-unsaved-options Please note that any customizations you have not chosen to save for future sessions will be lost when you terminate Emacs. If you'd like to be prompted about unsaved customizations at termination time, add diff --git a/etc/NEWS b/etc/NEWS index c783ec18f36..7a95a3efb2a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -135,8 +135,10 @@ frames. Works for functions, variables, faces, etc. It is bound to `C-h o' by default. ++++ ** New function `custom-prompt-customize-unsaved-options' checks for -unsaved customizations and prompts user to customize (if found). +unsaved customizations and prompts user to customize (if found). It +is intended for adding to 'kill-emacs-query-functions'. +++ ** Network security (TLS/SSL certificate validity and the like) is -- 2.39.5