changeset 52451:c7860e5cc982

(region_limit): Support any non-zero value of BEGINNINGP.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 07 Sep 2003 16:26:06 +0000
parents d096f00804db
children b6ac55680b20
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Sat Sep 06 19:28:08 2003 +0000
+++ b/src/editfns.c	Sun Sep 07 16:26:06 2003 +0000
@@ -299,7 +299,7 @@
   if (NILP (m))
     error ("The mark is not set now, so there is no region");
 
-  if ((PT < XFASTINT (m)) == beginningp)
+  if ((PT < XFASTINT (m)) == (beginningp != 0))
     m = make_number (PT);
   return m;
 }