(Finsert_and_inherit_before_markers):
authorRichard M. Stallman <rms@gnu.org>
Tue, 30 Aug 1994 07:18:47 +0000 (07:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 30 Aug 1994 07:18:47 +0000 (07:18 +0000)
Use insert_before_markers_and_inherit for character args.
(Finsert_and_inherit): Use insert_and_inherit for character args.

src/editfns.c

index 6002caa..46b5d77 100644 (file)
@@ -768,7 +768,7 @@ Any other markers at the point of insertion remain before the text.")
       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 @@ Any other markers at the point of insertion also end up after the text.")
       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)
        {