summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index d64d15040df..15112d8659b 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3441,8 +3441,10 @@ Output stream used is value of `standard-output'. */)
Lisp_Object tail;
Lisp_Object tem;
struct gcpro gcpro1;
+ Lisp_Object old_print_level = Vprint_level;
- XSETFASTINT (Vprint_level, 3);
+ if (NILP (Vprint_level))
+ XSETFASTINT (Vprint_level, 8);
tail = Qnil;
GCPRO1 (tail);
@@ -3483,7 +3485,7 @@ Output stream used is value of `standard-output'. */)
backlist = backlist->next;
}
- Vprint_level = Qnil;
+ Vprint_level = old_print_level;
UNGCPRO;
return Qnil;
}