diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-05-31 08:34:13 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-05-31 08:34:13 +0000 |
commit | aae748a1ae2f7aac564036e6a80dc760d9b1ca49 (patch) | |
tree | 92ffb0178a721a1a37189687cfc0f61b302e26f4 /src | |
parent | 9c0949e95908fd74989c6b3336b2e4f47a607757 (diff) | |
download | emacs-aae748a1ae2f7aac564036e6a80dc760d9b1ca49.tar.gz |
(move_if_not_intangible): Fix previous change.
Diffstat (limited to 'src')
-rw-r--r-- | src/intervals.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intervals.c b/src/intervals.c index ce2adc375f3..024a4f31903 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -1868,7 +1868,7 @@ move_if_not_intangible (position) 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 @@ move_if_not_intangible (position) 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. */ |