[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/insdel.c [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/insdel.c [emacs-unicode-2] |
Date: |
Wed, 08 Dec 2004 00:47:55 -0500 |
Index: emacs/src/insdel.c
diff -c emacs/src/insdel.c:1.175.2.5 emacs/src/insdel.c:1.175.2.6
*** emacs/src/insdel.c:1.175.2.5 Thu Nov 4 08:55:31 2004
--- emacs/src/insdel.c Wed Dec 8 05:02:18 2004
***************
*** 1046,1051 ****
--- 1046,1055 ----
int inherit;
{
int opoint = PT;
+
+ if (SCHARS (string) == 0)
+ return;
+
insert_from_string_1 (string, pos, pos_byte, length, length_byte,
inherit, 0);
signal_after_change (opoint, 0, PT - opoint);
***************
*** 1063,1068 ****
--- 1067,1076 ----
int inherit;
{
int opoint = PT;
+
+ if (SCHARS (string) == 0)
+ return;
+
insert_from_string_1 (string, pos, pos_byte, length, length_byte,
inherit, 1);
signal_after_change (opoint, 0, PT - opoint);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/insdel.c [emacs-unicode-2],
Miles Bader <=