summaryrefslogtreecommitdiff
path: root/doc/de/weechat_scripting.de.txt
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-02-19 22:49:59 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-02-19 22:49:59 +0100
commit9857b44e4ecfcbc1685acc429bd541777ea38afb (patch)
tree57d00a94aa265a14c292f83dfb56ec5406ff6230 /doc/de/weechat_scripting.de.txt
parentc43d48a9dff87cd935bde9d545835d5690dcaef6 (diff)
downloadweechat-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/de/weechat_scripting.de.txt')
-rw-r--r--doc/de/weechat_scripting.de.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/de/weechat_scripting.de.txt b/doc/de/weechat_scripting.de.txt
index a7f7dd4d6..6b81a9211 100644
--- a/doc/de/weechat_scripting.de.txt
+++ b/doc/de/weechat_scripting.de.txt
@@ -343,8 +343,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
)