aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-10-10 18:21:33 +0000
committerChong Yidong2008-10-10 18:21:33 +0000
commita115d013f475ec12707e7165f32c029f4cf6534f (patch)
tree6846cd516e72ef32bc8add5334729baa87827b6a
parent4c72bf2770352f5411df12d9afb2f9126d40fef3 (diff)
downloademacs-a115d013f475ec12707e7165f32c029f4cf6534f.tar.gz
emacs-a115d013f475ec12707e7165f32c029f4cf6534f.zip
(Exiting): Document change of C-x C-c to save-buffers-kill-terminal.
Document kill-emacs.
-rw-r--r--doc/emacs/entering.texi14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/emacs/entering.texi b/doc/emacs/entering.texi
index bb8fa1f3029..8cf04bc9fbc 100644
--- a/doc/emacs/entering.texi
+++ b/doc/emacs/entering.texi
@@ -72,16 +72,16 @@ features exist mainly for advanced users. @xref{Emacs Invocation}.
72 72
73@table @kbd 73@table @kbd
74@item C-x C-c 74@item C-x C-c
75Kill Emacs (@code{save-buffers-kill-emacs}). 75Kill Emacs (@code{save-buffers-kill-terminal}).
76@item C-z 76@item C-z
77Suspend Emacs (@code{suspend-emacs}) or iconify a frame 77Suspend Emacs (@code{suspend-emacs}) or iconify a frame
78(@code{iconify-or-deiconify-frame}). 78(@code{iconify-or-deiconify-frame}).
79@end table 79@end table
80 80
81@kindex C-x C-c 81@kindex C-x C-c
82@findex save-buffers-kill-emacs 82@findex save-buffers-kill-terminal
83 @dfn{Killing} Emacs means terminating the Emacs program. To do 83 @dfn{Killing} Emacs means terminating the Emacs program. To do
84this, type @kbd{C-x C-c} (@code{save-buffers-kill-emacs}). A 84this, type @kbd{C-x C-c} (@code{save-buffers-kill-terminal}). A
85two-character key is used to make it harder to type by accident. If 85two-character key is used to make it harder to type by accident. If
86there are any modified file-visiting buffers when you type @kbd{C-x 86there are any modified file-visiting buffers when you type @kbd{C-x
87C-c}, Emacs first offers to save these buffers. If you do not save 87C-c}, Emacs first offers to save these buffers. If you do not save
@@ -90,6 +90,10 @@ will be lost. Emacs also asks for confirmation if any subprocesses
90are still running, since killing Emacs will also kill the subprocesses 90are still running, since killing Emacs will also kill the subprocesses
91(@pxref{Shell}). 91(@pxref{Shell}).
92 92
93 @kbd{C-x C-c} behaves specially if you are using Emacs as a server.
94If you type it from a ``client frame'', it closes the client
95connection. @xref{Emacs Server}.
96
93 Emacs can, optionally, record certain session information when you 97 Emacs can, optionally, record certain session information when you
94kill it, such as the files you were visiting at the time. This 98kill it, such as the files you were visiting at the time. This
95information is then available the next time you start Emacs. 99information is then available the next time you start Emacs.
@@ -104,6 +108,10 @@ run. One convenient function to use as the value of
104@code{confirm-kill-emacs} is the function @code{yes-or-no-p}. The 108@code{confirm-kill-emacs} is the function @code{yes-or-no-p}. The
105default value of @code{confirm-kill-emacs} is @code{nil}. 109default value of @code{confirm-kill-emacs} is @code{nil}.
106 110
111@findex kill-emacs
112 To kill Emacs without being prompted about saving, type @kbd{M-x
113kill-emacs}.
114
107@cindex minimizing a frame 115@cindex minimizing a frame
108@cindex iconifying 116@cindex iconifying
109@cindex suspending 117@cindex suspending