aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/intervals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intervals.c b/src/intervals.c
index 3e970797ebe..46b1f9f31fd 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -1272,7 +1272,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit)
1272 if (NULL_INTERVAL_P (source)) 1272 if (NULL_INTERVAL_P (source))
1273 { 1273 {
1274 Lisp_Object buf; 1274 Lisp_Object buf;
1275 if (!inherit) 1275 if (!inherit && ! NULL_INTERVAL_P (tree))
1276 { 1276 {
1277 XSET (buf, Lisp_Buffer, buffer); 1277 XSET (buf, Lisp_Buffer, buffer);
1278 Fset_text_properties (make_number (position), 1278 Fset_text_properties (make_number (position),