aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/eval.c b/src/eval.c
index 89d353cf7cb..15112d8659b 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -79,7 +79,7 @@ Lisp_Object Vautoload_queue;
79 79
80/* Current number of specbindings allocated in specpdl. */ 80/* Current number of specbindings allocated in specpdl. */
81 81
82int specpdl_size; 82EMACS_INT specpdl_size;
83 83
84/* Pointer to beginning of specpdl. */ 84/* Pointer to beginning of specpdl. */
85 85
@@ -95,7 +95,7 @@ EMACS_INT max_specpdl_size;
95 95
96/* Depth in Lisp evaluations and function calls. */ 96/* Depth in Lisp evaluations and function calls. */
97 97
98int lisp_eval_depth; 98EMACS_INT lisp_eval_depth;
99 99
100/* Maximum allowed depth in Lisp evaluations and function calls. */ 100/* Maximum allowed depth in Lisp evaluations and function calls. */
101 101
@@ -216,7 +216,7 @@ call_debugger (Lisp_Object arg)
216 int debug_while_redisplaying; 216 int debug_while_redisplaying;
217 int count = SPECPDL_INDEX (); 217 int count = SPECPDL_INDEX ();
218 Lisp_Object val; 218 Lisp_Object val;
219 int old_max = max_specpdl_size; 219 EMACS_INT old_max = max_specpdl_size;
220 220
221 /* Temporarily bump up the stack limits, 221 /* Temporarily bump up the stack limits,
222 so the debugger won't run out of stack. */ 222 so the debugger won't run out of stack. */
@@ -1992,7 +1992,7 @@ void
1992verror (const char *m, va_list ap) 1992verror (const char *m, va_list ap)
1993{ 1993{
1994 char buf[200]; 1994 char buf[200];
1995 int size = 200; 1995 EMACS_INT size = 200;
1996 int mlen; 1996 int mlen;
1997 char *buffer = buf; 1997 char *buffer = buf;
1998 char *args[3]; 1998 char *args[3];
@@ -2003,7 +2003,7 @@ verror (const char *m, va_list ap)
2003 2003
2004 while (1) 2004 while (1)
2005 { 2005 {
2006 int used; 2006 EMACS_INT used;
2007 used = doprnt (buffer, size, m, m + mlen, ap); 2007 used = doprnt (buffer, size, m, m + mlen, ap);
2008 if (used < size) 2008 if (used < size)
2009 break; 2009 break;
@@ -3441,8 +3441,10 @@ Output stream used is value of `standard-output'. */)
3441 Lisp_Object tail; 3441 Lisp_Object tail;
3442 Lisp_Object tem; 3442 Lisp_Object tem;
3443 struct gcpro gcpro1; 3443 struct gcpro gcpro1;
3444 Lisp_Object old_print_level = Vprint_level;
3444 3445
3445 XSETFASTINT (Vprint_level, 3); 3446 if (NILP (Vprint_level))
3447 XSETFASTINT (Vprint_level, 8);
3446 3448
3447 tail = Qnil; 3449 tail = Qnil;
3448 GCPRO1 (tail); 3450 GCPRO1 (tail);
@@ -3483,7 +3485,7 @@ Output stream used is value of `standard-output'. */)
3483 backlist = backlist->next; 3485 backlist = backlist->next;
3484 } 3486 }
3485 3487
3486 Vprint_level = Qnil; 3488 Vprint_level = old_print_level;
3487 UNGCPRO; 3489 UNGCPRO;
3488 return Qnil; 3490 return Qnil;
3489} 3491}