changeset 8182:94f524e0d5cd

(readevalloop): Correctly unbind the unwind protect.
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Jul 1994 04:44:28 +0000
parents a5c67d37141b
children d35fd7fd0ef8
files src/lread.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Fri Jul 08 21:26:56 1994 +0000
+++ b/src/lread.c	Sat Jul 09 04:44:28 1994 +0000
@@ -723,9 +723,10 @@
 
       if (!NILP (Vpurify_flag) && c == '(')
 	{
+	  int count1 = specpdl_ptr - specpdl;
 	  record_unwind_protect (unreadpure, Qnil);
 	  val = read_list (-1, readcharfun);
-	  unbind_to (count + 1, Qnil);
+	  unbind_to (count1, Qnil);
 	}
       else
 	{