1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

guile: re-enable "/guile eval" (issue #1098)

With the output port now properly implemented for Guile >= 2.2, this
command works again.
This commit is contained in:
Joram Schrijver
2020-05-22 02:35:32 +02:00
committed by Sébastien Helleu
parent cac45aab46
commit cb5d90dcc7
-15
View File
@@ -916,24 +916,9 @@ weechat_guile_command_cb (const void *pointer, void *data,
else
break;
}
/*
* FIXME: this does not yet work with Guile >= 2.2, so the eval
* feature is temporarily disabled, waiting for a fix
*/
/*
if (!weechat_guile_eval (buffer, send_to_buffer_as_input,
exec_commands, ptr_code))
WEECHAT_COMMAND_ERROR;
*/
/* TODO: fix /guile eval */
(void) buffer;
(void) ptr_code;
(void) send_to_buffer_as_input;
(void) exec_commands;
weechat_printf (NULL,
_("%sCommand \"/%s eval\" is not yet implemented"),
weechat_prefix ("error"),
weechat_guile_plugin->name);
}
else
WEECHAT_COMMAND_ERROR;