Explain how delete-region alters point.

This commit is contained in:
Richard M. Stallman 1995-08-05 06:17:38 +00:00
parent efb57f43ab
commit 68002b5f39

View file

@ -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