aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2005-11-16 18:39:15 +0000
committerStefan Monnier2005-11-16 18:39:15 +0000
commit0a37f51211b54a8c47c5f00a8884f9f809872bc0 (patch)
tree1cffce3f543a3c958f0758eca72d644a8bcee746 /src
parentc01f0ed30392fb924078c0bb01319493a813a641 (diff)
downloademacs-0a37f51211b54a8c47c5f00a8884f9f809872bc0.tar.gz
emacs-0a37f51211b54a8c47c5f00a8884f9f809872bc0.zip
(readevalloop): Add missing GCPROs.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lread.c b/src/lread.c
index bac5ad4f161..d4fb550b867 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1316,7 +1316,7 @@ readevalloop (readcharfun, stream, sourcename, evalfun,
1316 register int c; 1316 register int c;
1317 register Lisp_Object val; 1317 register Lisp_Object val;
1318 int count = SPECPDL_INDEX (); 1318 int count = SPECPDL_INDEX ();
1319 struct gcpro gcpro1; 1319 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
1320 struct buffer *b = 0; 1320 struct buffer *b = 0;
1321 int continue_reading_p; 1321 int continue_reading_p;
1322 1322
@@ -1325,14 +1325,14 @@ readevalloop (readcharfun, stream, sourcename, evalfun,
1325 else if (MARKERP (readcharfun)) 1325 else if (MARKERP (readcharfun))
1326 b = XMARKER (readcharfun)->buffer; 1326 b = XMARKER (readcharfun)->buffer;
1327 1327
1328 specbind (Qstandard_input, readcharfun); 1328 specbind (Qstandard_input, readcharfun); /* GCPROs readcharfun. */
1329 specbind (Qcurrent_load_list, Qnil); 1329 specbind (Qcurrent_load_list, Qnil);
1330 record_unwind_protect (readevalloop_1, load_convert_to_unibyte ? Qt : Qnil); 1330 record_unwind_protect (readevalloop_1, load_convert_to_unibyte ? Qt : Qnil);
1331 load_convert_to_unibyte = !NILP (unibyte); 1331 load_convert_to_unibyte = !NILP (unibyte);
1332 1332
1333 readchar_backlog = -1; 1333 readchar_backlog = -1;
1334 1334
1335 GCPRO1 (sourcename); 1335 GCPRO4 (sourcename, readfun, start, end);
1336 1336
1337 LOADHIST_ATTACH (sourcename); 1337 LOADHIST_ATTACH (sourcename);
1338 1338