aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1991-05-08 06:23:29 +0000
committerJim Blandy1991-05-08 06:23:29 +0000
commit7e1ea61285b501e43708a011841158d5121e0193 (patch)
tree27a131accf057aa6ca3b6bff9cf121c5c9ac9ccf /src
parent2c6f1a390d94cf478817865e1a4b708145beb7c5 (diff)
downloademacs-7e1ea61285b501e43708a011841158d5121e0193.tar.gz
emacs-7e1ea61285b501e43708a011841158d5121e0193.zip
*** 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 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;