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
090a072f
Commit
090a072f
authored
Jul 07, 2000
by
Gerd Moellmann
Browse files
(Fsignal): Handle case that backtrace_list is null.
parent
d7e1fe1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
src/ChangeLog
src/ChangeLog
+4
-0
src/eval.c
src/eval.c
+9
-4
No files found.
src/ChangeLog
View file @
090a072f
2000-07-07 Gerd Moellmann <gerd@gnu.org>
* eval.c (Fsignal): Handle case that backtrace_list is null.
2000-07-07 Kenichi Handa <handa@etl.go.jp>
* ccl.c (Fccl_execute): Typo fixed.
...
...
src/eval.c
View file @
090a072f
...
...
@@ -1328,10 +1328,15 @@ See also the function `condition-case'.")
/* Remember from where signal was called. Skip over the frame for
`signal' itself. If a frame for `error' follows, skip that,
too. */
bp = backtrace_list->next;
if (bp && bp->function && EQ (*bp->function, Qerror))
bp = bp->next;
Vsignaling_function = bp && bp->function ? *bp->function : Qnil;
Vsignaling_function = Qnil;
if (backtrace_list)
{
bp = backtrace_list->next;
if (bp && bp->function && EQ (*bp->function, Qerror))
bp = bp->next;
if (bp && bp->function)
Vsignaling_function = *bp->function;
}
for (; handlerlist; handlerlist = handlerlist->next)
{
...
...
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