diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-02-19 22:49:59 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-02-19 22:49:59 +0100 |
commit | 9857b44e4ecfcbc1685acc429bd541777ea38afb (patch) | |
tree | 57d00a94aa265a14c292f83dfb56ec5406ff6230 /doc/en | |
parent | c43d48a9dff87cd935bde9d545835d5690dcaef6 (diff) | |
download | weechat-9857b44e4ecfcbc1685acc429bd541777ea38afb.zip |
guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), guile >= 2.0 is now required (bug #38350)
Unfortunately this breaks compatibility with existing guile scripts, but this
change is needed to keep consistency with other scripting languages.
Now guile >= 2.0 is required, WeeChat can not compile any more with guile 1.8.
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_scripting.en.txt | 4 | ||||
-rw-r--r-- | doc/en/weechat_user.en.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/en/weechat_scripting.en.txt b/doc/en/weechat_scripting.en.txt index 51a94e2b1..dc8f3e225 100644 --- a/doc/en/weechat_scripting.en.txt +++ b/doc/en/weechat_scripting.en.txt @@ -336,8 +336,8 @@ weechat::hook_timer 1000 0 1 timer_cb test [source,lisp] ---------------------------------------- -(define (timer_cb args) - (weechat:print "" (string-append "timer! data=" (list-ref args 0))) +(define (timer_cb data remaining_calls) + (weechat:print "" (string-append "timer! data=" data)) weechat:WEECHAT_RC_OK ) diff --git a/doc/en/weechat_user.en.txt b/doc/en/weechat_user.en.txt index a87df0a10..590994ca6 100644 --- a/doc/en/weechat_user.en.txt +++ b/doc/en/weechat_user.en.txt @@ -101,7 +101,7 @@ compile WeeChat. | ruby1.9.1-dev | ≥ 1.8 | | ruby plugin | liblua5.1-0-dev | | | lua plugin | tcl-dev | ≥ 8.5 | | tcl plugin -| guile-1.8-dev | ≥ 1.8 | | guile (scheme) plugin +| guile-2.0-dev | ≥ 2.0 | | guile (scheme) plugin | asciidoc | ≥ 8.5.0 | | build documentation (HTML files) | source-highlight | | | syntax highlight for sources in HTML documentation |======================================== |