diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2022-09-19 21:15:06 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2022-09-19 21:15:06 +0200 |
commit | c6d3d97bf5a75e0c4a653f3cc380371f890f4fb3 (patch) | |
tree | c080e249caaeccf026aaca5726f6c62c3bfb1e56 /lisp/emacs-lisp/edebug.el | |
parent | 0e5eb6ec8ce99c423bbafc6e8e3292d4459050d1 (diff) | |
parent | d6b25b84bc8cde6b8d396b073945c8340e6ca40d (diff) | |
download | emacs-c6d3d97bf5a75e0c4a653f3cc380371f890f4fb3.tar.gz emacs-c6d3d97bf5a75e0c4a653f3cc380371f890f4fb3.tar.bz2 emacs-c6d3d97bf5a75e0c4a653f3cc380371f890f4fb3.zip |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
-rw-r--r-- | lisp/emacs-lisp/edebug.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 31c05057bfa..67704bdb51c 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -129,7 +129,7 @@ contains an infinite loop. When Edebug is instrumenting code containing very large quoted lists, it may reach this limit and give the error message \"Too deep - perhaps infinite loop in spec?\". Make this limit larger to countermand that, but you may also need to -increase `max-lisp-eval-depth' and `max-specpdl-size'." +increase `max-lisp-eval-depth'." :type 'integer :version "26.1") @@ -1107,8 +1107,7 @@ purpose by adding an entry to this alist, and setting edebug-best-error edebug-error-point ;; Do this once here instead of several times. - (max-lisp-eval-depth (+ 800 max-lisp-eval-depth)) - (max-specpdl-size (+ 2000 max-specpdl-size))) + (max-lisp-eval-depth (+ 800 max-lisp-eval-depth))) (let ((no-match (catch 'no-match (setq result (edebug-read-and-maybe-wrap-form1)) @@ -2317,7 +2316,6 @@ and run its entry function, and set up `edebug-before' and ;; but not inside an unwind-protect. ;; Doing it here also keeps it from growing too large. (max-lisp-eval-depth (+ 100 max-lisp-eval-depth)) ; too much?? - (max-specpdl-size (+ 200 max-specpdl-size)) (debugger edebug-debugger) ; only while edebug is active. (edebug-outside-debug-on-error debug-on-error) |