diff options
author | Luc Teirlinck <teirllm@auburn.edu> | 2004-09-03 02:36:57 +0000 |
---|---|---|
committer | Luc Teirlinck <teirllm@auburn.edu> | 2004-09-03 02:36:57 +0000 |
commit | 28c5323581f30e6dcc54e3d6a2ffaeb87cd34967 (patch) | |
tree | 295f54d96d655ac6e6034383be2b35210e126f19 /man/killing.texi | |
parent | 1f06d36755eeae2ae2663f9ee56b7ff747fa20a0 (diff) | |
download | emacs-28c5323581f30e6dcc54e3d6a2ffaeb87cd34967.tar.gz |
(Killing): Correct description of kill commands in read-only buffer.
Diffstat (limited to 'man/killing.texi')
-rw-r--r-- | man/killing.texi | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/man/killing.texi b/man/killing.texi index 8865dfc2f1b..23ffd2b709a 100644 --- a/man/killing.texi +++ b/man/killing.texi @@ -1,5 +1,6 @@ @c This is part of the Emacs manual. -@c Copyright (C) 1985,86,87,93,94,95,97,00,2001 Free Software Foundation, Inc. +@c Copyright (C) 1985,86,87,93,94,95,97,2000,2001,2004 +@c Free Software Foundation, Inc. @c See file emacs.texi for copying conditions. @iftex @chapter Killing and Moving Text @@ -49,11 +50,12 @@ can use the @kbd{C-x u} (@code{undo}) command to undo it You cannot kill read-only text, since such text does not allow any kind of modification. But some users like to use the kill commands to copy read-only text into the kill ring, without actually changing it. -If you set the variable @code{kill-read-only-ok} to a non-@code{nil} -value, the kill commands work specially in a read-only buffer: they -move over text, and copy it to the kill ring, without actually -deleting it from the buffer. When this happens, a message in the echo -area tells you what is happening. +Therefore, the kill commands work specially in a read-only buffer: +they move over text, and copy it to the kill ring, without actually +deleting it from the buffer. Normally, Emacs beeps and prints an +error message when this happens. But if you set the variable +@code{kill-read-only-ok} to a non-@code{nil} value, it just prints a +message in the echo area, telling you what is happening. The delete commands include @kbd{C-d} (@code{delete-char}) and @key{DEL} (@code{delete-backward-char}), which delete only one |