aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-11-26 13:40:41 -0800
committerPaul Eggert2011-11-26 13:40:41 -0800
commit83aca1cb6970314dcc6c35c1432ebcac42811926 (patch)
tree7099a4f1bb9458efc80ce4721d5c746e7038c14e /src
parent579ebf8ff0b7693754fb27bbea4fceb4410df0e8 (diff)
downloademacs-83aca1cb6970314dcc6c35c1432ebcac42811926.tar.gz
emacs-83aca1cb6970314dcc6c35c1432ebcac42811926.zip
* fileio.c (Finsert_file_contents): Undo previous change.
See <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/fileio.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9097eab47a2..dd7b715e443 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,10 @@
12011-11-26 Paul Eggert <eggert@cs.ucla.edu> 12011-11-26 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * fileio.c (Finsert_file_contents): Undo previous change; see
4 <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>.
5
62011-11-26 Paul Eggert <eggert@cs.ucla.edu>
7
3 Rename locals to avoid shadowing. 8 Rename locals to avoid shadowing.
4 * fileio.c (Finsert_file_contents): 9 * fileio.c (Finsert_file_contents):
5 Rename inner 'gcpro1' to 'inner_gcpro1' to avoid shadowing. 10 Rename inner 'gcpro1' to 'inner_gcpro1' to avoid shadowing.
diff --git a/src/fileio.c b/src/fileio.c
index 009f35d2a7f..5f7a8ad3972 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3686,7 +3686,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
3686 int this_count = SPECPDL_INDEX (); 3686 int this_count = SPECPDL_INDEX ();
3687 int multibyte = ! NILP (BVAR (current_buffer, enable_multibyte_characters)); 3687 int multibyte = ! NILP (BVAR (current_buffer, enable_multibyte_characters));
3688 Lisp_Object conversion_buffer; 3688 Lisp_Object conversion_buffer;
3689 struct gcpro inner_gcpro1; 3689 struct gcpro gcpro1;
3690 3690
3691 conversion_buffer = code_conversion_save (1, multibyte); 3691 conversion_buffer = code_conversion_save (1, multibyte);
3692 3692
@@ -3702,7 +3702,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
3702 inserted = 0; /* Bytes put into CONVERSION_BUFFER so far. */ 3702 inserted = 0; /* Bytes put into CONVERSION_BUFFER so far. */
3703 unprocessed = 0; /* Bytes not processed in previous loop. */ 3703 unprocessed = 0; /* Bytes not processed in previous loop. */
3704 3704
3705 GCPRO1_VAR (conversion_buffer, inner_gcpro); 3705 GCPRO1 (conversion_buffer);
3706 while (how_much < total) 3706 while (how_much < total)
3707 { 3707 {
3708 /* We read one bunch by one (READ_BUF_SIZE bytes) to allow 3708 /* We read one bunch by one (READ_BUF_SIZE bytes) to allow