From: Richard M. Stallman Date: Sat, 5 Aug 1995 06:17:38 +0000 (+0000) Subject: Explain how delete-region alters point. X-Git-Tag: emacs-19.34~3085 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=68002b5f39ab3a5b3060d7f36f987af7df1bddff;p=emacs.git Explain how delete-region alters point. --- 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