Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5b650faa
Commit
5b650faa
authored
Sep 20, 2009
by
Stefan Monnier
Browse files
(find_handler_clause): Make stack-trace-on-error work in batch mode (bug#4228).
parent
ea5fff5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
src/ChangeLog
src/ChangeLog
+5
-0
src/eval.c
src/eval.c
+7
-8
No files found.
src/ChangeLog
View file @
5b650faa
2009-09-20 Tom Tromey <tromey@redhat.com>
* eval.c (find_handler_clause): Make stack-trace-on-error work in
batch mode (bug#4228).
2009-09-18 Rob Christie <robchristie@gmail.com> (tiny change)
* nsmenu.m (EmacsMenu-parseKeyEquiv:): Parse key equivalent more
...
...
src/eval.c
View file @
5b650faa
...
...
@@ -1945,14 +1945,13 @@ find_handler_clause (handlers, conditions, sig, data)
{
max_lisp_eval_depth
+=
15
;
max_specpdl_size
++
;
#ifdef PROTOTYPES
internal_with_output_to_temp_buffer
(
"*Backtrace*"
,
(
Lisp_Object
(
*
)
(
Lisp_Object
))
Fbacktrace
,
Qnil
);
#else
internal_with_output_to_temp_buffer
(
"*Backtrace*"
,
Fbacktrace
,
Qnil
);
#endif
if
(
noninteractive
)
Fbacktrace
();
else
internal_with_output_to_temp_buffer
(
"*Backtrace*"
,
(
Lisp_Object
(
*
)
(
Lisp_Object
))
Fbacktrace
,
Qnil
);
max_specpdl_size
--
;
max_lisp_eval_depth
-=
15
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment