diff options
| author | Eli Zaretskii | 2001-08-23 12:31:24 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-08-23 12:31:24 +0000 |
| commit | e020c83399419474e81144e111dfbf285c9019fa (patch) | |
| tree | 9a3f03d1da43c09a7d471431c2769b3c89dbc33f | |
| parent | 9f83d8b3176dfecfe6b10d8e5b9f9601031dccee (diff) | |
| download | emacs-e020c83399419474e81144e111dfbf285c9019fa.tar.gz emacs-e020c83399419474e81144e111dfbf285c9019fa.zip | |
Document confirm-kill-emacs.
| -rw-r--r-- | man/entering.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/man/entering.texi b/man/entering.texi index e8c6227be99..7e1e60501ef 100644 --- a/man/entering.texi +++ b/man/entering.texi | |||
| @@ -120,6 +120,15 @@ if any subprocesses are still running, @kbd{C-x C-c} asks for | |||
| 120 | confirmation about them, since killing Emacs will kill the subprocesses | 120 | confirmation about them, since killing Emacs will kill the subprocesses |
| 121 | immediately. | 121 | immediately. |
| 122 | 122 | ||
| 123 | @vindex confirm-kill-emacs | ||
| 124 | If the value of the variable @code{confirm-kill-emacs} is | ||
| 125 | non-@code{nil}, @kbd{C-x C-c} assumes that its value is a predicate | ||
| 126 | function, and calls that function. If the result is non-@code{nil}, the | ||
| 127 | session is killed, otherwise Emacs continues to run. One convenient | ||
| 128 | function to use as the value of @code{confirm-kill-emacs} is the | ||
| 129 | function @code{yes-or-no-p}. The default value of | ||
| 130 | @code{confirm-kill-emacs} is @code{nil}. | ||
| 131 | |||
| 123 | There is no way to restart an Emacs session once you have killed it. | 132 | There is no way to restart an Emacs session once you have killed it. |
| 124 | You can, however, arrange for Emacs to record certain session | 133 | You can, however, arrange for Emacs to record certain session |
| 125 | information, such as which files are visited, when you kill it, so that | 134 | information, such as which files are visited, when you kill it, so that |