Mercurial > emacs
diff lispref/text.texi @ 12775:a8cd9be43025
Explain how delete-region alters point.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 05 Aug 1995 06:17:38 +0000 |
parents | 586e3ea81792 |
children | acb0ab49f4e7 |
line wrap: on
line diff
--- a/lispref/text.texi Sat Aug 05 05:18:04 1995 +0000 +++ b/lispref/text.texi Sat Aug 05 06:17:38 1995 +0000 @@ -450,7 +450,9 @@ @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