diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/textprop.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
| 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) |