mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 11:27:34 +00:00
(text_property_stickiness): Fix Lisp_Object used as boolean.
This commit is contained in:
parent
2c9e190074
commit
e1010ebe16
2 changed files with 7 additions and 3 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
|
||||
|
||||
* editfns.c (text_property_stickiness): Fix Lisp_Object used as boolean.
|
||||
|
||||
2001-10-25 Miles Bader <miles@gnu.org>
|
||||
|
||||
* xfns.c (png_load): Make sure SPECIFIED_BG is a string.
|
||||
|
|
|
|||
|
|
@ -364,9 +364,9 @@ text_property_stickiness (prop, pos)
|
|||
prev_pos = make_number (XINT (pos) - 1);
|
||||
rear_non_sticky = Fget_text_property (prev_pos, Qrear_nonsticky, Qnil);
|
||||
|
||||
if (CONSP (rear_non_sticky)
|
||||
? Fmemq (prop, rear_non_sticky)
|
||||
: !NILP (rear_non_sticky))
|
||||
if (!NILP (CONSP (rear_non_sticky)
|
||||
? Fmemq (prop, rear_non_sticky)
|
||||
: rear_non_sticky))
|
||||
/* PROP is rear-non-sticky. */
|
||||
is_rear_sticky = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue