Mercurial > emacs
comparison man/killing.texi @ 67605:d16a1283eb9b
(Killing by Lines): Document `kill-whole-line' function.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 16 Dec 2005 12:02:51 +0000 |
parents | 6d3669227452 |
children | da161b813076 7beb78bc1f8e |
comparison
equal
deleted
inserted
replaced
67604:d690cd38b69b | 67605:d16a1283eb9b |
---|---|
167 @subsection Killing by Lines | 167 @subsection Killing by Lines |
168 | 168 |
169 @table @kbd | 169 @table @kbd |
170 @item C-k | 170 @item C-k |
171 Kill rest of line or one or more lines (@code{kill-line}). | 171 Kill rest of line or one or more lines (@code{kill-line}). |
172 @item C-S-backspace | |
173 Kill an entire line at once (@code{kill-whole-line}) | |
172 @end table | 174 @end table |
173 | 175 |
174 @kindex C-k | 176 @kindex C-k |
175 @findex kill-line | 177 @findex kill-line |
176 The simplest kill command is @kbd{C-k}. If given at the beginning of | 178 The simplest kill command is @kbd{C-k}. If given at the beginning of |
197 | 199 |
198 @vindex kill-whole-line | 200 @vindex kill-whole-line |
199 If the variable @code{kill-whole-line} is non-@code{nil}, @kbd{C-k} at | 201 If the variable @code{kill-whole-line} is non-@code{nil}, @kbd{C-k} at |
200 the very beginning of a line kills the entire line including the | 202 the very beginning of a line kills the entire line including the |
201 following newline. This variable is normally @code{nil}. | 203 following newline. This variable is normally @code{nil}. |
204 | |
205 @kindex C-S-backspace | |
206 @findex kill-whole-line | |
207 @kbd{C-S-backspace} (@code{kill-whole-line}) will kill a whole line | |
208 including its newline regardless of the position of point within the | |
209 line. Note that many character terminals will prevent you from typing | |
210 the key sequence @kbd{C-S-backspace}. | |
202 | 211 |
203 @node Other Kill Commands | 212 @node Other Kill Commands |
204 @subsection Other Kill Commands | 213 @subsection Other Kill Commands |
205 @findex kill-region | 214 @findex kill-region |
206 @kindex C-w | 215 @kindex C-w |