diff options
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c index 93f32717299..77bb39df691 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -364,9 +364,9 @@ text_property_stickiness (prop, pos) | |||
| 364 | prev_pos = make_number (XINT (pos) - 1); | 364 | prev_pos = make_number (XINT (pos) - 1); |
| 365 | rear_non_sticky = Fget_text_property (prev_pos, Qrear_nonsticky, Qnil); | 365 | rear_non_sticky = Fget_text_property (prev_pos, Qrear_nonsticky, Qnil); |
| 366 | 366 | ||
| 367 | if (CONSP (rear_non_sticky) | 367 | if (!NILP (CONSP (rear_non_sticky) |
| 368 | ? Fmemq (prop, rear_non_sticky) | 368 | ? Fmemq (prop, rear_non_sticky) |
| 369 | : !NILP (rear_non_sticky)) | 369 | : rear_non_sticky)) |
| 370 | /* PROP is rear-non-sticky. */ | 370 | /* PROP is rear-non-sticky. */ |
| 371 | is_rear_sticky = 0; | 371 | is_rear_sticky = 0; |
| 372 | } | 372 | } |