From 0509f190486f161c1fcf5619127a750fec52999e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= <flashcode@flashtux.org>
Date: Thu, 17 Dec 2015 08:13:55 +0100
Subject: doc: update examples of function hook_command_run (plugin API
 reference)

---
 doc/ja/weechat_plugin_api.ja.asciidoc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'doc/ja/weechat_plugin_api.ja.asciidoc')

diff --git a/doc/ja/weechat_plugin_api.ja.asciidoc b/doc/ja/weechat_plugin_api.ja.asciidoc
index e4fc9aa5f..f65211015 100644
--- a/doc/ja/weechat_plugin_api.ja.asciidoc
+++ b/doc/ja/weechat_plugin_api.ja.asciidoc
@@ -7178,8 +7178,7 @@ int
 my_command_run_cb (void *data, struct t_gui_buffer *buffer,
                    const char *command)
 {
-    weechat_printf (NULL,
-                    "You want to complete? I'm eating the completion ahah!");
+    weechat_printf (NULL, "I'm eating the completion!");
     return WEECHAT_RC_OK_EAT;
 }
 
@@ -7197,7 +7196,7 @@ hook = weechat.hook_command_run(command, callback, callback_data)
 
 # 例
 def my_command_run_cb(data, buffer, command):
-    weechat.prnt("", "You want to complete? I'm eating the completion, ahah!")
+    weechat.prnt("", "I'm eating the completion!")
     return weechat.WEECHAT_RC_OK_EAT
 
 hook = weechat.hook_command_run("/input complete*", "my_command_run_cb", "")
-- 
cgit v1.2.3

