]> git.eshelyaron.com Git - emacs.git/commitdiff
(Killing): Document that kill commands in a read-only buffer do
authorEli Zaretskii <eliz@gnu.org>
Tue, 6 Feb 2001 07:00:03 +0000 (07:00 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 6 Feb 2001 07:00:03 +0000 (07:00 +0000)
put text into the kill ring, even if they don't kill it.

man/killing.texi

index d790e78bae65fd68ebbe2b3ff15705453e20fa8c..c297622188f001b39c30c8e8939a6cb235b0e318 100644 (file)
@@ -42,6 +42,11 @@ Setting the variable @code{kill-read-only-ok} to a non-@code{nil} value
 overrides that.  To alert you to the fact that you killed read-only
 text, Emacs prints a message to that effect in the echo area.
 
+  When @code{kill-read-only-ok} is @code{nil}, Emacs beeps if you try to
+kill text in a read-only buffers, but it puts the text you wanted to
+kill into the kill ring anyway.  This means you can use kill commands to
+copy text from read-only buffers.
+
   The delete commands include @kbd{C-d} (@code{delete-char}) and
 @key{DEL} (@code{delete-backward-char}), which delete only one character at
 a time, and those commands that delete only spaces or newlines.  Commands