aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1991-05-08 06:23:29 +0000
committerJim Blandy <[email protected]>1991-05-08 06:23:29 +0000
commit7e1ea61285b501e43708a011841158d5121e0193 (patch)
tree27a131accf057aa6ca3b6bff9cf121c5c9ac9ccf /src
parent2c6f1a390d94cf478817865e1a4b708145beb7c5 (diff)
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 2de7744522..80f1d67369 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -314,10 +314,11 @@ insert (string, length)
signal_after_change (point-length, 0, length);
}
-/* Function to insert part of the text of a string (STRING)
- consisting of LENGTH characters at position POS.
- It does not work to use `insert' for this. */
-
+/* Function to insert part of the text of a string (STRING) consisting
+ of LENGTH characters at position POS.
+ It does not work to use `insert' for this, becase a GC could happen
+ before we bcopy the stuff into the buffer, and relocate the string
+ without insert noticing. */
insert_from_string (string, pos, length)
Lisp_Object string;
register int pos, length;