aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2004-09-03 02:36:57 +0000
committerLuc Teirlinck2004-09-03 02:36:57 +0000
commit28c5323581f30e6dcc54e3d6a2ffaeb87cd34967 (patch)
tree295f54d96d655ac6e6034383be2b35210e126f19
parent1f06d36755eeae2ae2663f9ee56b7ff747fa20a0 (diff)
downloademacs-28c5323581f30e6dcc54e3d6a2ffaeb87cd34967.tar.gz
emacs-28c5323581f30e6dcc54e3d6a2ffaeb87cd34967.zip
(Killing): Correct description of kill commands in read-only buffer.
-rw-r--r--man/ChangeLog5
-rw-r--r--man/killing.texi14
2 files changed, 13 insertions, 6 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index b294270f258..37554016f3d 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,8 @@
12004-09-02 Luc Teirlinck <teirllm@auburn.edu>
2
3 * killing.texi (Killing): Correct description of kill commands in
4 read-only buffer.
5
12004-09-02 Teodor Zlatanov <tzz@lifelogs.com> 62004-09-02 Teodor Zlatanov <tzz@lifelogs.com>
2 7
3 * building.texi (Compilation Mode): Add a paragraph about rules 8 * building.texi (Compilation Mode): Add a paragraph about rules
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 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 1985,86,87,93,94,95,97,00,2001 Free Software Foundation, Inc. 2@c Copyright (C) 1985,86,87,93,94,95,97,2000,2001,2004
3@c Free Software Foundation, Inc.
3@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
4@iftex 5@iftex
5@chapter Killing and Moving Text 6@chapter Killing and Moving Text
@@ -49,11 +50,12 @@ can use the @kbd{C-x u} (@code{undo}) command to undo it
49 You cannot kill read-only text, since such text does not allow any 50 You cannot kill read-only text, since such text does not allow any
50kind of modification. But some users like to use the kill commands to 51kind of modification. But some users like to use the kill commands to
51copy read-only text into the kill ring, without actually changing it. 52copy read-only text into the kill ring, without actually changing it.
52If you set the variable @code{kill-read-only-ok} to a non-@code{nil} 53Therefore, the kill commands work specially in a read-only buffer:
53value, the kill commands work specially in a read-only buffer: they 54they move over text, and copy it to the kill ring, without actually
54move over text, and copy it to the kill ring, without actually 55deleting it from the buffer. Normally, Emacs beeps and prints an
55deleting it from the buffer. When this happens, a message in the echo 56error message when this happens. But if you set the variable
56area tells you what is happening. 57@code{kill-read-only-ok} to a non-@code{nil} value, it just prints a
58message in the echo area, telling you what is happening.
57 59
58 The delete commands include @kbd{C-d} (@code{delete-char}) and 60 The delete commands include @kbd{C-d} (@code{delete-char}) and
59@key{DEL} (@code{delete-backward-char}), which delete only one 61@key{DEL} (@code{delete-backward-char}), which delete only one