aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-08-30 07:18:47 +0000
committerRichard M. Stallman1994-08-30 07:18:47 +0000
commit107740f53db3c868eb9dede429f90a83db9f20d3 (patch)
tree4ebcefc35a0652a1f8a076171e8a33f52d6fc009 /src/editfns.c
parentd2bee99ea5309cd877ca24841b62440eff8341ab (diff)
downloademacs-107740f53db3c868eb9dede429f90a83db9f20d3.tar.gz
emacs-107740f53db3c868eb9dede429f90a83db9f20d3.zip
(Finsert_and_inherit_before_markers):
Use insert_before_markers_and_inherit for character args. (Finsert_and_inherit): Use insert_and_inherit for character args.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c4
1 files 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.")
768 if (XTYPE (tem) == Lisp_Int) 768 if (XTYPE (tem) == Lisp_Int)
769 { 769 {
770 str[0] = XINT (tem); 770 str[0] = XINT (tem);
771 insert (str, 1); 771 insert_and_inherit (str, 1);
772 } 772 }
773 else if (XTYPE (tem) == Lisp_String) 773 else if (XTYPE (tem) == Lisp_String)
774 { 774 {
@@ -840,7 +840,7 @@ Any other markers at the point of insertion also end up after the text.")
840 if (XTYPE (tem) == Lisp_Int) 840 if (XTYPE (tem) == Lisp_Int)
841 { 841 {
842 str[0] = XINT (tem); 842 str[0] = XINT (tem);
843 insert_before_markers (str, 1); 843 insert_before_markers_and_inherit (str, 1);
844 } 844 }
845 else if (XTYPE (tem) == Lisp_String) 845 else if (XTYPE (tem) == Lisp_String)
846 { 846 {