Commit 2063d89c authored by Eli Zaretskii's avatar Eli Zaretskii

(region_limit): Support any non-zero value of BEGINNINGP.

parent 2b3cb60a
2003-09-07 Eli Zaretskii <eliz@elta.co.il>
* editfns.c (region_limit): Support any non-zero value of
BEGINNINGP.
2003-09-03 Kim F. Storm <storm@cua.dk>
* xdisp.c (get_window_cursor_type): Partially undo 2002-03-01
......
......@@ -299,7 +299,7 @@ region_limit (beginningp)
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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment