comparison src/textprop.c @ 71499:51f7fe4f6552

* textprop.c (text_property_stickiness): doc fix.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 28 Jun 2006 00:02:57 +0000
parents 182680a57573
children 37f7b9440897
comparison
equal deleted inserted replaced
71498:36c0b042a602 71499:51f7fe4f6552
1785 ? Fmemq (prop, rear_non_sticky) 1785 ? Fmemq (prop, rear_non_sticky)
1786 : rear_non_sticky)) 1786 : rear_non_sticky))
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)
1795 || (CONSP (front_sticky) 1799 || (CONSP (front_sticky)
1796 && !NILP (Fmemq (prop, front_sticky)))) 1800 && !NILP (Fmemq (prop, front_sticky))))