From 107740f53db3c868eb9dede429f90a83db9f20d3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 30 Aug 1994 07:18:47 +0000 Subject: [PATCH] (Finsert_and_inherit_before_markers): Use insert_before_markers_and_inherit for character args. (Finsert_and_inherit): Use insert_and_inherit for character args. --- src/editfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index 6002caab9d4..46b5d772c42 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -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) { -- 2.39.5