[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/insdel.c [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/insdel.c [lexbind] |
Date: |
Wed, 08 Dec 2004 18:57:27 -0500 |
Index: emacs/src/insdel.c
diff -c emacs/src/insdel.c:1.166.4.5 emacs/src/insdel.c:1.166.4.6
*** emacs/src/insdel.c:1.166.4.5 Thu Nov 4 13:12:22 2004
--- emacs/src/insdel.c Wed Dec 8 23:36:22 2004
***************
*** 1057,1062 ****
--- 1057,1066 ----
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);
***************
*** 1074,1079 ****
--- 1078,1087 ----
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 [lexbind],
Miles Bader <=