# HG changeset patch # User Chong Yidong # Date 1151452977 0 # Node ID 51f7fe4f65524bd135c05739abde93fd0db6a358 # Parent 36c0b042a602a5ddd1d3ea10cfcbb006b539a5ef * textprop.c (text_property_stickiness): doc fix. diff -r 36c0b042a602 -r 51f7fe4f6552 src/textprop.c --- a/src/textprop.c Wed Jun 28 00:00:57 2006 +0000 +++ b/src/textprop.c Wed Jun 28 00:02:57 2006 +0000 @@ -1787,8 +1787,12 @@ /* PROP is rear-non-sticky. */ is_rear_sticky = 0; } + else + return 0; /* Consider following character. */ + /* This signals an arg-out-of-range error if pos is outside the + buffer's accessible range. */ front_sticky = Fget_text_property (pos, Qfront_sticky, buffer); if (EQ (front_sticky, Qt)