Commit 1b49bd5d authored by Daniel Colascione's avatar Daniel Colascione
Browse files

Correctly handle reaching the end of the interval tree. (Bug#15344)

parents 7199b6d4 7d29a37a
2014-01-13 Daniel Colascione <dancol@dancol.org>
* textprop.c (Fremove_list_of_text_properties): Correctly
handle reaching the end of the interval tree. (Bug#15344)
2014-01-13 Martin Rudalics <rudalics@gmx.at>
* xdisp.c (resize_mini_window): Round height to a multiple of
......
......@@ -1741,6 +1741,19 @@ Return t if any property was actually removed, nil otherwise. */)
}
len -= LENGTH (i);
i = next_interval (i);
if(!i)
{
if (modified)
{
if (BUFFERP (object))
signal_after_change (XINT (start),
XINT (end) - XINT (start),
XINT (end) - XINT (start));
return Qt;
}
else
return Qnil;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment