diff options
| author | Cameron Desautels | 2014-12-14 06:49:06 -0500 |
|---|---|---|
| committer | Ted Zlatanov | 2014-12-14 06:51:17 -0500 |
| commit | 4c4f970c8d10b346acc6d231f3755c1d1f5827fb (patch) | |
| tree | 201898796452a831786f584abfe67dd54ed42365 /doc | |
| parent | f7572b72fd448c8ab6002bc6a545dfb765bbc520 (diff) | |
| download | emacs-4c4f970c8d10b346acc6d231f3755c1d1f5827fb.tar.gz emacs-4c4f970c8d10b346acc6d231f3755c1d1f5827fb.zip | |
Provide custom-prompt-customize-unsaved-options.
* doc/emacs/custom.texi (Saving Customizations): Mention
`custom-prompt-customize-unsaved-options'.
* etc/NEWS: Mention `custom-prompt-customize-unsaved-options'.
* etc/TODO: Remove its entry.
* lisp/cus-edit.el (custom-prompt-customize-unsaved-options): Add a
mechanism for prompting user about unsaved customizations.
(Bug#19328)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/custom.texi | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 3ed8c1309bd..cd46d9fc474 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-12-14 Cameron Desautels <camdez@gmail.com> | ||
| 2 | |||
| 3 | * custom.texi (Saving Customizations): Mention | ||
| 4 | `custom-prompt-customize-unsaved-options'. | ||
| 5 | |||
| 1 | 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * misc.texi (Network Security): Mention the new protocol-level | 8 | * misc.texi (Network Security): Mention the new protocol-level |
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 0d0013f5ace..6c392cbc70d 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi | |||
| @@ -405,6 +405,16 @@ customizations in your initialization file. This is because saving | |||
| 405 | customizations from such a session would wipe out all the other | 405 | customizations from such a session would wipe out all the other |
| 406 | customizations you might have on your initialization file. | 406 | customizations you might have on your initialization file. |
| 407 | 407 | ||
| 408 | Please note that any customizations you have not chosen to save for | ||
| 409 | future sessions will be lost when you terminate Emacs. If you'd like | ||
| 410 | to be prompted about unsaved customizations at termination time, add | ||
| 411 | the following to your initialization file: | ||
| 412 | |||
| 413 | @example | ||
| 414 | (add-hook 'kill-emacs-query-functions | ||
| 415 | 'custom-prompt-customize-unsaved-options) | ||
| 416 | @end example | ||
| 417 | |||
| 408 | @node Face Customization | 418 | @node Face Customization |
| 409 | @subsection Customizing Faces | 419 | @subsection Customizing Faces |
| 410 | @cindex customizing faces | 420 | @cindex customizing faces |