Subject: RE: bug#19328: [PATCH] Add mechanism to prompt about unsaved customizations

From: Drew Adams <[email-masked]>
Date: Tue, 9 Dec 2014 07:54:19 -0800 (PST)

Why is this in etc/TODO?

This already exists, no?  I've been using this for years:

(add-hook 'kill-emacs-query-functions
          (lambda ()
            (condition-case nil
                (customize-unsaved)
              (error t))))

> Implements the following, as requested in `etc/TODO`:
>
> ** A function to check for customizable options that have been
>    set but not saved, and ask the user whether to save them.
>    This could go in kill-emacs-query-functions, to remind people
>    to save their changes. If the user says yes, show them
>    in a Custom buffer using customize-customized.