summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
authorGemini Lasswell <gazally@runbox.com>2018-06-20 13:58:33 -0700
committerGemini Lasswell <gazally@runbox.com>2018-06-30 07:36:11 -0700
commit4bd43b03526ae893609c7b54958fc332a1c81681 (patch)
tree9baac307550a99d7b7a9a48442deca5e515c9f0b /lisp/emacs-lisp/debug.el
parentab983522a140187fa2f7bd996c6e3760b0db8d09 (diff)
downloademacs-4bd43b03526ae893609c7b54958fc332a1c81681.tar.gz
emacs-4bd43b03526ae893609c7b54958fc332a1c81681.tar.bz2
emacs-4bd43b03526ae893609c7b54958fc332a1c81681.zip
Increase max-lisp-eval-depth adjustment while in debugger (bug#31919)
* src/eval.c (call_debugger): Increase the amount of extra Lisp evaluation depth given to the debugger to allow it to call cl-print. * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Add a comment to suggest updating call_debugger when changing print-level.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
-rw-r--r--lisp/emacs-lisp/debug.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 593fab97275..821d6748821 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -322,6 +322,7 @@ That buffer should be current already."
(backtrace-frames 'debug)))
(print-escape-newlines t)
(print-escape-control-characters t)
+ ;; If you increase print-level, add more depth in call_debugger.
(print-level 8)
(print-length 50)
(pos (point)))