summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-01-26 08:12:53 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-01-26 08:12:53 +0100
commit7a5200a8e435305a88844282f781295519bd127e (patch)
treecdcd322511b95d0259bcffcb9cb13ba8f172f64d /doc/en
parent19d355c10ed14e42a6327c3a8445f666c16b0099 (diff)
downloadweechat-7a5200a8e435305a88844282f781295519bd127e.zip
Fix typos in config functions in plugin API reference
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_plugin_api.en.txt34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt
index 1f9edead2..e2181bcf8 100644
--- a/doc/en/weechat_plugin_api.en.txt
+++ b/doc/en/weechat_plugin_api.en.txt
@@ -4641,10 +4641,10 @@ Script (Python):
[source,python]
----------------------------------------
# prototype
-value = weechat.config_option_boolean(option)
+value = weechat.config_boolean(option)
# example
-if weechat.config_option_boolean(option):
+if weechat.config_boolean(option):
# ...
----------------------------------------
@@ -4687,10 +4687,10 @@ Script (Python):
[source,python]
----------------------------------------
# prototype
-value = weechat.config_option_boolean_default(option)
+value = weechat.config_boolean_default(option)
# example
-if weechat.config_option_boolean_default(option):
+if weechat.config_boolean_default(option):
# ...
----------------------------------------
@@ -4726,10 +4726,10 @@ Script (Python):
[source,python]
----------------------------------------
# prototype
-value = weechat.config_option_integer(option)
+value = weechat.config_integer(option)
# example
-if weechat.config_option_integer(option):
+if weechat.config_integer(option):
# ...
----------------------------------------
@@ -4765,10 +4765,10 @@ Script (Python):
[source,python]
----------------------------------------
# prototype
-value = weechat.config_option_integer_default(option)
+value = weechat.config_integer_default(option)
# example
-if weechat.config_option_integer_default(option):
+if weechat.config_integer_default(option):
# ...
----------------------------------------
@@ -4804,10 +4804,10 @@ Script (Python):
[source,python]
----------------------------------------
# prototype
-value = weechat.config_option_string(option)
+value = weechat.config_string(option)
# example
-value = weechat.config_option_string(option):
+value = weechat.config_string(option):
----------------------------------------
weechat_config_string_default
@@ -4819,7 +4819,7 @@ Prototype:
[source,C]
----------------------------------------
-const char *weechat_config_integer_default (struct t_config_option *option);
+const char *weechat_config_string_default (struct t_config_option *option);
----------------------------------------
Arguments:
@@ -4842,10 +4842,10 @@ Script (Python):
[source,python]
----------------------------------------
# prototype
-value = weechat.config_option_string_default(option)
+value = weechat.config_string_default(option)
# example
-value = weechat.config_option_string_default(option):
+value = weechat.config_string_default(option):
----------------------------------------
weechat_config_color
@@ -4880,10 +4880,10 @@ Script (Python):
[source,python]
----------------------------------------
# prototype
-value = weechat.config_option_color(option)
+value = weechat.config_color(option)
# example
-value = weechat.config_option_color(option):
+value = weechat.config_color(option):
----------------------------------------
weechat_config_color_default
@@ -4918,10 +4918,10 @@ Script (Python):
[source,python]
----------------------------------------
# prototype
-value = weechat.config_option_color_default(option)
+value = weechat.config_color_default(option)
# example
-value = weechat.config_option_color_default(option):
+value = weechat.config_color_default(option):
----------------------------------------
weechat_config_write_option