changeset 30771:e9948dd313fa

(Killing): Document kill-read-only-ok.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 13 Aug 2000 06:07:36 +0000
parents dfa82b47c25d
children 43cd847ecb62
files man/killing.texi
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/killing.texi	Sun Aug 13 05:49:52 2000 +0000
+++ b/man/killing.texi	Sun Aug 13 06:07:36 2000 +0000
@@ -35,6 +35,13 @@
 can use the @kbd{C-x u} (@code{undo}) command to undo it
 (@pxref{Undo}).
 
+@vindex kill-read-only-ok
+@cindex read-only text, killing
+  By default, Emacs does not allow to kill text in read-only buffers.
+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.
+
   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