aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGemini Lasswell2017-02-04 12:56:19 +0200
committerEli Zaretskii2017-02-04 12:56:19 +0200
commit78f841d6db77f8b72d6d7d221af26efb956ab6cb (patch)
treefce319434b2f653816cf18d1a25cdf6808e9dcc2 /doc
parentc71b718be86bdda7b51c8ea0da30aa896a7833fe (diff)
downloademacs-78f841d6db77f8b72d6d7d221af26efb956ab6cb.tar.gz
emacs-78f841d6db77f8b72d6d7d221af26efb956ab6cb.zip
Change edebug-max-depth from defconst to defcustom
* lisp/emacs-lisp/edebug.el (edebug-max-depth): Add defcustom. (Bug#24713) * etc/NEWS: Mention edebug-max-depth. * doc/lispref/edebug.texi (Checking Whether to Stop): Mention edebug-max-depth and index it. Add cross-references for max-lisp-eval-depth and max-specpdl-size. Co-authored-by: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/edebug.texi10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi
index f6f73ea8947..da72c9b700c 100644
--- a/doc/lispref/edebug.texi
+++ b/doc/lispref/edebug.texi
@@ -979,9 +979,13 @@ program.
979 979
980@itemize @bullet 980@itemize @bullet
981@item 981@item
982@code{max-lisp-eval-depth} and @code{max-specpdl-size} are both 982@vindex edebug-max-depth
983increased to reduce Edebug's impact on the stack. You could, however, 983@code{max-lisp-eval-depth} (@pxref{Eval}) and @code{max-specpdl-size}
984still run out of stack space when using Edebug. 984(@pxref{Local Variables}) are both increased to reduce Edebug's impact
985on the stack. You could, however, still run out of stack space when
986using Edebug. You can also enlarge the value of
987@code{edebug-max-depth} if Edebug reaches the limit of recursion depth
988instrumenting code that contains very large quoted lists.
985 989
986@item 990@item
987The state of keyboard macro execution is saved and restored. While 991The state of keyboard macro execution is saved and restored. While