mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
* throw.c (handler_message): Print message on current error port
instead of default error port. (Thanks to Maciej Stachowiak.)
This commit is contained in:
parent
abf06c1273
commit
701191ba9c
2 changed files with 6 additions and 1 deletions
|
@ -474,7 +474,7 @@ static void
|
|||
handler_message (void *handler_data, SCM tag, SCM args)
|
||||
{
|
||||
char *prog_name = (char *) handler_data;
|
||||
SCM p = scm_def_errp;
|
||||
SCM p = scm_cur_errp;
|
||||
|
||||
if (! prog_name)
|
||||
prog_name = "guile";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue