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/fr/weechat_scripting.fr.txt | |
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/fr/weechat_scripting.fr.txt')
-rw-r--r-- | doc/fr/weechat_scripting.fr.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/fr/weechat_scripting.fr.txt b/doc/fr/weechat_scripting.fr.txt index d7762316f..1b33e352f 100644 --- a/doc/fr/weechat_scripting.fr.txt +++ b/doc/fr/weechat_scripting.fr.txt @@ -345,8 +345,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 ) |