summaryrefslogtreecommitdiff
path: root/src/editfns.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-07-14 09:18:31 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-07-14 09:18:31 -0700
commit5023daec057b530a4dcd64d6fc6a3c2e36b925a5 (patch)
tree25c6393f130ff91c0b89c0a51eceb1b38a7d38f4 /src/editfns.c
parent5e927815391bbb3a6e25b9bd65a7c59f1a5216ef (diff)
parent7509a874332af5ea1ce20a36f7dccd207b5090c3 (diff)
downloademacs-5023daec057b530a4dcd64d6fc6a3c2e36b925a5.tar.gz
emacs-5023daec057b530a4dcd64d6fc6a3c2e36b925a5.tar.bz2
emacs-5023daec057b530a4dcd64d6fc6a3c2e36b925a5.zip
Merge from trunk.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 6aba319d5b2..18fefa5e3b5 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3160,10 +3160,9 @@ 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.
+This command deletes buffer text without modifying the kill ring. */)
(Lisp_Object start, Lisp_Object end)
{
validate_region (&start, &end);