diff options
author | Richard M. Stallman <[email protected]> | 1993-12-23 01:58:56 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1993-12-23 01:58:56 +0000 |
commit | 08b0527265bf9b87f47403191a3d5c0877f86b4b (patch) | |
tree | 618b5d1a4af3d0157088b2d644b5dd76f5e49073 /src/intervals.c | |
parent | 9aa1e75280a2817dd6f4749c4699c2ec89824b0c (diff) |
(graft_intervals_into_buffer): If SOURCE is null
and TREE is null, no need to call Fset_text_properties.
Diffstat (limited to 'src/intervals.c')
-rw-r--r-- | src/intervals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intervals.c b/src/intervals.c index 3e970797eb..46b1f9f31f 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -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), |