summaryrefslogtreecommitdiff
path: root/lispref/text.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-08-05 06:17:38 +0000
committerRichard M. Stallman <rms@gnu.org>1995-08-05 06:17:38 +0000
commit64f5fdf02519ef0658aaae68a309586677f84e28 (patch)
tree873543047b3cc26f27a939d3f05d7a0e46b49f63 /lispref/text.texi
parentfb6b4872086322664070df8e28df8853fa72e9ee (diff)
downloademacs-64f5fdf02519ef0658aaae68a309586677f84e28.tar.gz
Explain how delete-region alters point.
Diffstat (limited to 'lispref/text.texi')
-rw-r--r--lispref/text.texi4
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