changeset 8667:abd7ff9a94da

(Finsert_and_inherit_before_markers): Use insert_before_markers_and_inherit for character args. (Finsert_and_inherit): Use insert_and_inherit for character args.
author Richard M. Stallman <rms@gnu.org>
date Tue, 30 Aug 1994 07:18:47 +0000
parents 844edbc22875
children 011660f7aae9
files src/editfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Tue Aug 30 07:17:49 1994 +0000
+++ b/src/editfns.c	Tue Aug 30 07:18:47 1994 +0000
@@ -768,7 +768,7 @@
       if (XTYPE (tem) == Lisp_Int)
 	{
 	  str[0] = XINT (tem);
-	  insert (str, 1);
+	  insert_and_inherit (str, 1);
 	}
       else if (XTYPE (tem) == Lisp_String)
 	{
@@ -840,7 +840,7 @@
       if (XTYPE (tem) == Lisp_Int)
 	{
 	  str[0] = XINT (tem);
-	  insert_before_markers (str, 1);
+	  insert_before_markers_and_inherit (str, 1);
 	}
       else if (XTYPE (tem) == Lisp_String)
 	{