]> git.eshelyaron.com Git - emacs.git/commitdiff
(kill-line): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Tue, 6 Feb 2001 06:54:56 +0000 (06:54 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 6 Feb 2001 06:54:56 +0000 (06:54 +0000)
lisp/ChangeLog
lisp/simple.el

index a55a634dc05e0513d4de9c58fbc1cc66f21de090..ad4725b524f7d428c26823b9ba3fa6d1df411a3e 100644 (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
index d04a3b0091e33475524fb3b07ced30b45442a656..f4d03ff2226665725e3934bebeda3ff64651ba3f 100644 (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