diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-09-21 14:35:03 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-09-21 14:48:09 +0200 |
commit | afce4804f5d7c7f2d9da49ca8b1f26eb1cd94152 (patch) | |
tree | c3e68e70bb0a9a8c03e9c9dc048f2ea65edb7494 /src/plugins/guile/weechat-guile.c | |
parent | 387a44f5ece0af6e805bd1a469d1aa1358d60d98 (diff) | |
download | weechat-afce4804f5d7c7f2d9da49ca8b1f26eb1cd94152.zip |
guile: disable "/guile eval" as this does not (yet) work with Guile >= 2.2 (issue #1098)
Diffstat (limited to 'src/plugins/guile/weechat-guile.c')
-rw-r--r-- | src/plugins/guile/weechat-guile.c | 15 |
1 files changed, 15 insertions, 0 deletions
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; |