Mercurial > emacs
changeset 35918:89bf4e8936b6
(Killing): Document that kill commands in a read-only buffer do
put text into the kill ring, even if they don't kill it.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 06 Feb 2001 07:00:03 +0000 |
parents | d668d8e7a4e8 |
children | ed2fbc8a7b22 |
files | man/killing.texi |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/man/killing.texi Tue Feb 06 06:54:56 2001 +0000 +++ b/man/killing.texi Tue Feb 06 07:00:03 2001 +0000 @@ -42,6 +42,11 @@ 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