summaryrefslogtreecommitdiff
path: root/doc/it/includes/autogen_user_commands.it.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-12-19 17:07:52 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-12-19 20:59:38 +0100
commit7e2396ade81d6778e87ef50698efce5adfb4032e (patch)
tree5ff7e2ccbed94e3434afb6ccc495efc05887d34f /doc/it/includes/autogen_user_commands.it.adoc
parent1526f58d7a9142a96ffbcc133893fbab07fd6007 (diff)
downloadweechat-7e2396ade81d6778e87ef50698efce5adfb4032e.zip
core: add options "setvar" and "delvar" in command /buffer, rename option "localvar" to "listvar"
The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still recognized by WeeChat, to stay compatible with any extension/script calling it (or referencing it in the documentation). It is deprecated and will be removed in a future release.
Diffstat (limited to 'doc/it/includes/autogen_user_commands.it.adoc')
-rw-r--r--doc/it/includes/autogen_user_commands.it.adoc12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc
index b8bc653fc..9f2fe8a42 100644
--- a/doc/it/includes/autogen_user_commands.it.adoc
+++ b/doc/it/includes/autogen_user_commands.it.adoc
@@ -1022,7 +1022,7 @@ Note: in command, special variables are replaced:
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
- $var: where "var" is a local variable of buffer (see /buffer localvar)
+ $var: where "var" is a local variable of buffer (see /buffer listvar)
examples: $nick, $channel, $server, $plugin, $name
Examples:
@@ -1115,7 +1115,9 @@ Examples:
renumber [<number1> [<number2> [<start>]]]
close [<n1>[-<n2>]|<name>...]
notify [<level>]
- localvar [<number>|<name>]
+ listvar [<number>|<name>]
+ setvar <name> [<value>]
+ delvar <name>
set <property> [<value>]
get <property>
<number>|-|+|<name>
@@ -1139,8 +1141,10 @@ renumber: renumber buffers (works only if option weechat.look.buffer_auto_renumb
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
-localvar: display local variables for the buffer
- set: set a property for current buffer
+ listvar: display local variables in a buffer
+ setvar: set a local variable in the current buffer
+ delvar: delete a local variable from the current buffer
+ set: set a property in the current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current