changeset 10382:9738aad59697

(Finsert_char): Check inherit flag for long strings too.
author Karl Heuer <kwzh@gnu.org>
date Tue, 10 Jan 1995 20:37:38 +0000
parents 8e8259e052ed
children a7fe0fb11314
files src/editfns.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Tue Jan 10 18:37:06 1995 +0000
+++ b/src/editfns.c	Tue Jan 10 20:37:38 1995 +0000
@@ -1030,7 +1030,12 @@
       n -= strlen;
     }
   if (n > 0)
-    insert (string, n);
+    {
+      if (!NILP (inherit))
+	insert_and_inherit (string, n);
+      else
+	insert (string, n);
+    }
   return Qnil;
 }