aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 2de7744522e..80f1d67369b 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -314,10 +314,11 @@ insert (string, length)
314 signal_after_change (point-length, 0, length); 314 signal_after_change (point-length, 0, length);
315} 315}
316 316
317/* Function to insert part of the text of a string (STRING) 317/* Function to insert part of the text of a string (STRING) consisting
318 consisting of LENGTH characters at position POS. 318 of LENGTH characters at position POS.
319 It does not work to use `insert' for this. */ 319 It does not work to use `insert' for this, becase a GC could happen
320 320 before we bcopy the stuff into the buffer, and relocate the string
321 without insert noticing. */
321insert_from_string (string, pos, length) 322insert_from_string (string, pos, length)
322 Lisp_Object string; 323 Lisp_Object string;
323 register int pos, length; 324 register int pos, length;