From 506d2f9a542b2dcdc4dc918abd0524f29e22a2a6 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 28 Jun 2006 00:02:57 +0000 Subject: [PATCH] * textprop.c (text_property_stickiness): doc fix. --- src/textprop.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.5