From afce4804f5d7c7f2d9da49ca8b1f26eb1cd94152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 21 Sep 2019 14:35:03 +0200 Subject: guile: disable "/guile eval" as this does not (yet) work with Guile >= 2.2 (issue #1098) --- src/plugins/guile/weechat-guile.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src') diff --git a/src/plugins/guile/weechat-guile.c b/src/plugins/guile/weechat-guile.c index e9056ad36..8addeb469 100644 --- a/src/plugins/guile/weechat-guile.c +++ b/src/plugins/guile/weechat-guile.c @@ -914,9 +914,24 @@ 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; -- cgit v1.2.3