diff options
| -rw-r--r-- | man/killing.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/killing.texi b/man/killing.texi index 6dc62311ebc..c003b7aa678 100644 --- a/man/killing.texi +++ b/man/killing.texi | |||
| @@ -35,6 +35,13 @@ text in the buffer.) If you do a kill or delete command by mistake, you | |||
| 35 | can use the @kbd{C-x u} (@code{undo}) command to undo it | 35 | can use the @kbd{C-x u} (@code{undo}) command to undo it |
| 36 | (@pxref{Undo}). | 36 | (@pxref{Undo}). |
| 37 | 37 | ||
| 38 | @vindex kill-read-only-ok | ||
| 39 | @cindex read-only text, killing | ||
| 40 | By default, Emacs does not allow to kill text in read-only buffers. | ||
| 41 | Setting the variable @code{kill-read-only-ok} to a non-@code{nil} value | ||
| 42 | overrides that. To alert you to the fact that you killed read-only | ||
| 43 | text, Emacs prints a message to that effect in the echo area. | ||
| 44 | |||
| 38 | The delete commands include @kbd{C-d} (@code{delete-char}) and | 45 | The delete commands include @kbd{C-d} (@code{delete-char}) and |
| 39 | @key{DEL} (@code{delete-backward-char}), which delete only one character at | 46 | @key{DEL} (@code{delete-backward-char}), which delete only one character at |
| 40 | a time, and those commands that delete only spaces or newlines. Commands | 47 | a time, and those commands that delete only spaces or newlines. Commands |