From: Chong Yidong Date: Wed, 28 Jun 2006 00:02:57 +0000 (+0000) Subject: * textprop.c (text_property_stickiness): doc fix. X-Git-Tag: emacs-pretest-22.0.90~1818 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=506d2f9a542b2dcdc4dc918abd0524f29e22a2a6;p=emacs.git * textprop.c (text_property_stickiness): doc fix. --- 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) /* 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)