Commit 08b05272 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(graft_intervals_into_buffer): If SOURCE is null

and TREE is null, no need to call Fset_text_properties.
parent 9aa1e752
......@@ -1272,7 +1272,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit)
if (NULL_INTERVAL_P (source))
{
Lisp_Object buf;
if (!inherit)
if (!inherit && ! NULL_INTERVAL_P (tree))
{
XSET (buf, Lisp_Buffer, buffer);
Fset_text_properties (make_number (position),
......
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