* editfns.c (Fdelete_region): Clarify the use of the named parameters.

Fixes: debbugs:6788
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-14 15:37:20 +02:00
parent 621ef9abdb
commit 3bbd2265c6
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
* editfns.c (Fdelete_region): Clarify the use of the named
parameters (bug#6788).
2011-07-14 Martin Rudalics <rudalics@gmx.at>
* indent.c (Fvertical_motion): Set and restore w->pointm when

View file

@ -3160,10 +3160,8 @@ It returns the number of characters changed. */)
}
DEFUN ("delete-region", Fdelete_region, Sdelete_region, 2, 2, "r",
doc: /* Delete the text between point and mark.
When called from a program, expects two arguments,
positions (integers or markers) specifying the stretch to be deleted. */)
doc: /* Delete the text between START and END.
If called interactively, delete the region between point and mark. */)
(Lisp_Object start, Lisp_Object end)
{
validate_region (&start, &end);