changeset 109611:85cbdb81d0e0

* editfns.c (Fregion_beginning, Fregion_end): Doc fixes (bug#6493).
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 02 Aug 2010 08:42:03 +0200
parents 89b599cafa6e
children b7ff82b433d8
files src/ChangeLog src/editfns.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Aug 01 23:50:24 2010 +0000
+++ b/src/ChangeLog	Mon Aug 02 08:42:03 2010 +0200
@@ -1,3 +1,8 @@
+2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
+
+	* editfns.c (Fregion_beginning, Fregion_end): Doc fixes (bug#6493).
+	Wording by Drew Adams <drew.adams@oracle.com>.
+
 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* xterm.h (struct x_output): Add ttip_widget, ttip_window and
--- a/src/editfns.c	Sun Aug 01 23:50:24 2010 +0000
+++ b/src/editfns.c	Mon Aug 02 08:42:03 2010 +0200
@@ -336,14 +336,14 @@
 }
 
 DEFUN ("region-beginning", Fregion_beginning, Sregion_beginning, 0, 0, 0,
-       doc: /* Return position of beginning of region, as an integer.  */)
+       doc: /* Return the integer value of point or mark, whichever is smaller.  */)
   (void)
 {
   return region_limit (1);
 }
 
 DEFUN ("region-end", Fregion_end, Sregion_end, 0, 0, 0,
-       doc: /* Return position of end of region, as an integer.  */)
+       doc: /* Return the integer value of point or mark, whichever is larger.  */)
   (void)
 {
   return region_limit (0);