changeset 35916:5a41fb5ed099

(kill-line): Doc fix.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 06 Feb 2001 06:52:43 +0000
parents f042a6d7e37c
children d668d8e7a4e8
files lisp/simple.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Tue Feb 06 06:22:18 2001 +0000
+++ b/lisp/simple.el	Tue Feb 06 06:52:43 2001 +0000
@@ -2005,7 +2005,11 @@
 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