aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-09-29 07:53:10 +0200
committerLars Ingebrigtsen2021-09-29 07:53:15 +0200
commit3efa45849ab02b4c331d6d3d8a41ba03a1ef016a (patch)
tree48aa809478c1329284bc04f36dd079c34834776e /src/eval.c
parent081eb52e4d8441a82134db5b34848474a1d01acf (diff)
downloademacs-3efa45849ab02b4c331d6d3d8a41ba03a1ef016a.tar.gz
emacs-3efa45849ab02b4c331d6d3d8a41ba03a1ef016a.zip
Improve the max-specpdl-size doc string
* src/eval.c (syms_of_eval): Mention what "specpdl" means.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/eval.c b/src/eval.c
index 66d34808f82..0f792b487ed 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -4311,13 +4311,19 @@ syms_of_eval (void)
4311{ 4311{
4312 DEFVAR_INT ("max-specpdl-size", max_specpdl_size, 4312 DEFVAR_INT ("max-specpdl-size", max_specpdl_size,
4313 doc: /* Limit on number of Lisp variable bindings and `unwind-protect's. 4313 doc: /* Limit on number of Lisp variable bindings and `unwind-protect's.
4314If Lisp code tries to increase the total number past this amount, 4314
4315an error is signaled. 4315If Lisp code tries to use more bindings than this amount, an error is
4316You can safely use a value considerably larger than the default value, 4316signaled.
4317if that proves inconveniently small. However, if you increase it too far, 4317
4318Emacs could run out of memory trying to make the stack bigger. 4318You can safely increase this variable substantially if the default
4319Note that this limit may be silently increased by the debugger 4319value proves inconveniently small. However, if you increase it too
4320if `debug-on-error' or `debug-on-quit' is set. */); 4320much, Emacs could run out of memory trying to make the stack bigger.
4321Note that this limit may be silently increased by the debugger if
4322`debug-on-error' or `debug-on-quit' is set.
4323
4324\"spec\" is short for \"special variables\", i.e., dynamically bound
4325variables. \"PDL\" is short for \"push-down list\", which is an old
4326term for \"stack\". */);
4321 4327
4322 DEFVAR_INT ("max-lisp-eval-depth", max_lisp_eval_depth, 4328 DEFVAR_INT ("max-lisp-eval-depth", max_lisp_eval_depth,
4323 doc: /* Limit on depth in `eval', `apply' and `funcall' before error. 4329 doc: /* Limit on depth in `eval', `apply' and `funcall' before error.