aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 46705dc4543..4c514001d9d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -171,7 +171,7 @@ backtrace_top (void)
171 /* This is so "xbacktrace" doesn't crash in pdumped Emacs if they 171 /* This is so "xbacktrace" doesn't crash in pdumped Emacs if they
172 invoke the command before init_eval_once_for_pdumper initializes 172 invoke the command before init_eval_once_for_pdumper initializes
173 specpdl machinery. See also backtrace_p above. */ 173 specpdl machinery. See also backtrace_p above. */
174 if (!specpdl) 174 if (!current_thread || !specpdl)
175 return NULL; 175 return NULL;
176 176
177 union specbinding *pdl = specpdl_ptr - 1; 177 union specbinding *pdl = specpdl_ptr - 1;