aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2001-02-06 07:00:03 +0000
committerEli Zaretskii <[email protected]>2001-02-06 07:00:03 +0000
commit8b0645d63b6960e33dd4f258efb6488a7b2a1c89 (patch)
tree2acd0cffeb269dfc155c11c2a78600fa324e8387 /man
parentd3f227849413878bb3056be28fc96cd4372015dc (diff)
(Killing): Document that kill commands in a read-only buffer do
put text into the kill ring, even if they don't kill it.
Diffstat (limited to 'man')
-rw-r--r--man/killing.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/killing.texi b/man/killing.texi
index d790e78bae..c297622188 100644
--- a/man/killing.texi
+++ b/man/killing.texi
@@ -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