aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-04-08 07:09:18 +0000
committerKarl Heuer1994-04-08 07:09:18 +0000
commitfa7c37595f0924d5efa6b700a5d4e6e15ac6d744 (patch)
treeae50d07316b65e76e6478c354a414813d7de7797
parent07c57952d8364663eb2abd979457cc880b7fd855 (diff)
downloademacs-fa7c37595f0924d5efa6b700a5d4e6e15ac6d744.tar.gz
emacs-fa7c37595f0924d5efa6b700a5d4e6e15ac6d744.zip
(set_point): Skip past intangible regions.
-rw-r--r--src/intervals.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/intervals.c b/src/intervals.c
index 597fcf07b30..3b9ec9b4dde 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -1650,12 +1650,10 @@ set_point (position, buffer)
1650 return; 1650 return;
1651 } 1651 }
1652 1652
1653 /* If the new position is before an invisible character 1653 /* If the new position is before an intangible character,
1654 that has an `invisible' property of value `hidden',
1655 move forward over all such. */ 1654 move forward over all such. */
1656 while (! NULL_INTERVAL_P (to) 1655 while (! NULL_INTERVAL_P (to)
1657 && EQ (textget (to->plist, Qinvisible), Qhidden) 1656 && ! NILP (textget (to->plist, Qintangible)))
1658 && ! DISPLAY_INVISIBLE_GLYPH (to))
1659 { 1657 {
1660 toprev = to; 1658 toprev = to;
1661 to = next_interval (to); 1659 to = next_interval (to);