1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(kill-line): Doc fix.

This commit is contained in:
Eli Zaretskii 2001-02-06 06:54:56 +00:00
parent 255208bebd
commit d3f2278494
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-02-06 Eli Zaretskii <eliz@is.elta.co.il>
* simple.el (kill-line): Doc fix.
2001-02-05 Dave Love <fx@gnu.org>
* loadup.el: Revert last two changes -- bootstrapping works with

View File

@ -2005,7 +2005,11 @@ To kill a whole line, when point is not at the beginning, type \
If `kill-whole-line' is non-nil, then this command kills the whole line
including its terminating newline, when used at the beginning of a line
with no argument. As a consequence, you can always kill a whole line
by typing \\[beginning-of-line] \\[kill-line]."
by typing \\[beginning-of-line] \\[kill-line].
If the buffer is read-only, Emacs will beep and refrain from deleting
the line, but put the line in the kill ring anyway. This means that
you can use this command to copy text from a read-only buffer."
(interactive "P")
(kill-region (point)
;; It is better to move point to the other end of the kill