X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/9949231fb06aa4a2dfa536e9d5125a81424db3a7..63efa6c6a559a23be863cad0c08457a2d29a0a67:/doc/emacs/custom.texi diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 0d0013f5ac..095e49be90 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -1,5 +1,5 @@ @c This is part of the Emacs manual. -@c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2014 Free Software +@c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2015 Free Software @c Foundation, Inc. @c See file emacs.texi for copying conditions. @node Customization @@ -405,6 +405,16 @@ 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. + 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 +the following to your initialization file: + +@example +(add-hook 'kill-emacs-query-functions + 'custom-prompt-customize-unsaved-options) +@end example + @node Face Customization @subsection Customizing Faces @cindex customizing faces