diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-08-05 06:17:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-08-05 06:17:38 +0000 |
commit | 64f5fdf02519ef0658aaae68a309586677f84e28 (patch) | |
tree | 873543047b3cc26f27a939d3f05d7a0e46b49f63 | |
parent | fb6b4872086322664070df8e28df8853fa72e9ee (diff) | |
download | emacs-64f5fdf02519ef0658aaae68a309586677f84e28.tar.gz |
Explain how delete-region alters point.
-rw-r--r-- | lispref/text.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lispref/text.texi b/lispref/text.texi index 6b165e18287..176edf1f74d 100644 --- a/lispref/text.texi +++ b/lispref/text.texi @@ -450,7 +450,9 @@ be compared with that of the former text. @deffn Command delete-region start end This command deletes the text in the current buffer in the region -defined by @var{start} and @var{end}. The value is @code{nil}. +defined by @var{start} and @var{end}. The value is @code{nil}. If +point was inside the deleted region, its value afterward is @var{start}. +Otherwise, point relocates with the surrounding text, as markers do. @end deffn @deffn Command delete-char count &optional killp |