aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2006-06-28 00:02:57 +0000
committerChong Yidong2006-06-28 00:02:57 +0000
commit506d2f9a542b2dcdc4dc918abd0524f29e22a2a6 (patch)
tree368e62c3a765526237364ced73a0d8c26f3098a8 /src
parentdf8ffa055d3e9487df52405f749a1c721426ae52 (diff)
downloademacs-506d2f9a542b2dcdc4dc918abd0524f29e22a2a6.tar.gz
emacs-506d2f9a542b2dcdc4dc918abd0524f29e22a2a6.zip
* textprop.c (text_property_stickiness): doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/textprop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 87fa6742919..a268afba830 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -1787,8 +1787,12 @@ text_property_stickiness (prop, pos, buffer)
1787 /* PROP is rear-non-sticky. */ 1787 /* PROP is rear-non-sticky. */
1788 is_rear_sticky = 0; 1788 is_rear_sticky = 0;
1789 } 1789 }
1790 else
1791 return 0;
1790 1792
1791 /* Consider following character. */ 1793 /* Consider following character. */
1794 /* This signals an arg-out-of-range error if pos is outside the
1795 buffer's accessible range. */
1792 front_sticky = Fget_text_property (pos, Qfront_sticky, buffer); 1796 front_sticky = Fget_text_property (pos, Qfront_sticky, buffer);
1793 1797
1794 if (EQ (front_sticky, Qt) 1798 if (EQ (front_sticky, Qt)