Mercurial > emacs
changeset 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 | 9b17b06bc9cd |
children | d69a2d6d1ae9 |
files | lispref/text.texi |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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