# HG changeset patch # User Richard M. Stallman # Date 865067653 0 # Node ID cd5f9bda791eeaee110075b2f07c18428d854301 # Parent 27a0ced43e7eec7464a8f2cab5d6c790a74de936 (move_if_not_intangible): Fix previous change. diff -r 27a0ced43e7e -r cd5f9bda791e src/intervals.c --- a/src/intervals.c Sat May 31 07:40:46 1997 +0000 +++ b/src/intervals.c Sat May 31 08:34:13 1997 +0000 @@ -1868,7 +1868,7 @@ if (! NILP (Vinhibit_point_motion_hooks)) /* If intangible is inhibited, always move point to POSITION. */ ; - else if (PT < position) + else if (PT < position && pos < ZV) { /* We want to move forward, so check the text before POSITION. */ @@ -1884,7 +1884,7 @@ intangible_propval)) pos = Fprevious_char_property_change (pos, Qnil); } - else + else if (pos > BEGV) { /* We want to move backward, so check the text after POSITION. */