changeset 5250:63a865489a1e

(graft_intervals_into_buffer): If SOURCE is null and TREE is null, no need to call Fset_text_properties.
author Richard M. Stallman <rms@gnu.org>
date Thu, 23 Dec 1993 01:58:56 +0000
parents 67767e113d1d
children 480731ff8e9a
files src/intervals.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/intervals.c	Thu Dec 23 01:57:54 1993 +0000
+++ b/src/intervals.c	Thu Dec 23 01:58:56 1993 +0000
@@ -1272,7 +1272,7 @@
   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),