aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorGlenn Morris2018-07-02 19:19:26 -0700
committerGlenn Morris2018-07-02 19:19:26 -0700
commit02f2f336af7c4129ec79ab00881bba3e14ff9820 (patch)
tree3f279977bb231ea6ddab8680999bc1bffcb31071 /src/eval.c
parentbc0e36df8d33595d6411ec4c18e3f4b643c01306 (diff)
parentfc5cae731cede7e00f3f2d40d6577537f872d439 (diff)
downloademacs-02f2f336af7c4129ec79ab00881bba3e14ff9820.tar.gz
emacs-02f2f336af7c4129ec79ab00881bba3e14ff9820.zip
Merge from origin/emacs-26
fc5cae7 ; Fix ChangeLog typo. e17a5e5 ; make change-history-commit f205928 * etc/HISTORY: Cite Brinkoff on early history. 4e58ca8 Document internal use of 'above-suspended' z-group frame para... 4bd43b0 Increase max-lisp-eval-depth adjustment while in debugger (bu... ab98352 Improve on last change in replace-buffer-contents 2f149c0 Fix a factual error in Introduction to Emacs Lisp 8ad50a3 ; * lisp/files.el (buffer-offer-save): Doc fix. (Bug#32000) c80f31f Minor improvements in documentation of imenu.el 8ebb683 Avoid errors with recentering in 'skeleton-insert' e980a3c * src/lisp.h: Omit obsolete comment re bytecode stack. eec71eb Speed up replace-buffer-contents 93c41ce Remove extra process call from vc-git-find-file-hook 7ea0873 ; Update some commentary 4a7f423 Speed up vc-git-dir-status-files 9134c84 Avoid compiler warning using coding.h Conflicts: src/editfns.c
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index c16a267bc5e..256ca8ffdc8 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -282,8 +282,12 @@ call_debugger (Lisp_Object arg)
282 /* Do not allow max_specpdl_size less than actual depth (Bug#16603). */ 282 /* Do not allow max_specpdl_size less than actual depth (Bug#16603). */
283 EMACS_INT old_max = max (max_specpdl_size, count); 283 EMACS_INT old_max = max (max_specpdl_size, count);
284 284
285 if (lisp_eval_depth + 40 > max_lisp_eval_depth) 285 /* The previous value of 40 is too small now that the debugger
286 max_lisp_eval_depth = lisp_eval_depth + 40; 286 prints using cl-prin1 instead of prin1. Printing lists nested 8
287 deep (which is the value of print-level used in the debugger)
288 currently requires 77 additional frames. See bug#31919. */
289 if (lisp_eval_depth + 100 > max_lisp_eval_depth)
290 max_lisp_eval_depth = lisp_eval_depth + 100;
287 291
288 /* While debugging Bug#16603, previous value of 100 was found 292 /* While debugging Bug#16603, previous value of 100 was found
289 too small to avoid specpdl overflow in the debugger itself. */ 293 too small to avoid specpdl overflow in the debugger itself. */