]> git.eshelyaron.com Git - emacs.git/commitdiff
* textprop.c (text_property_stickiness): doc fix.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 28 Jun 2006 00:02:57 +0000 (00:02 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 28 Jun 2006 00:02:57 +0000 (00:02 +0000)
src/textprop.c

index 87fa67429199a02cfe480e6efef65880638b4415..a268afba830503359ab28d5e0d1e8d949ecd3d81 100644 (file)
@@ -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)