summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-08-17 08:43:22 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-08-17 08:43:22 +0200
commita3e8163f37bb79cf40a0129b32dce9056a41ec53 (patch)
tree0c24dfa33ae2f8bc3996dec0d37dabe0bf2fef5a /src
parentceb579653f55069fe4470604eb1b36b79a6e7a33 (diff)
downloadweechat-a3e8163f37bb79cf40a0129b32dce9056a41ec53.zip
Revert "buflist: mention variables available for option buflist.look.display_conditions in its help and in /help buflist (closes #1393)"
This reverts commit 39e5b0574cff8ade50ff6ec95feda57b1c331b4e.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/buflist/buflist-command.c15
-rw-r--r--src/plugins/buflist/buflist-config.c4
2 files changed, 4 insertions, 15 deletions
diff --git a/src/plugins/buflist/buflist-command.c b/src/plugins/buflist/buflist-command.c
index d6425e4b9..1aea61eba 100644
--- a/src/plugins/buflist/buflist-command.c
+++ b/src/plugins/buflist/buflist-command.c
@@ -83,18 +83,9 @@ buflist_command_init ()
"current buffer\n"
" - buflist.format.buffer_current: format for the current buffer\n"
"\n"
- "The following variables can be used in the option "
- "\"buflist.look.display_conditions\" (see below for the "
- "description):\n"
- " - bar_item\n"
- " - buffer\n"
- " - irc_server\n"
- " - irc_channel\n"
- "\n"
- "The following variables can be used in the options "
- "\"buflist.format.*\":\n"
- " - bar item data (see hdata \"bar_item\" in API doc for a "
- "complete list), for example:\n"
+ "The following variables can be used in these options:\n"
+ " - bar item data (see hdata \"bar_item\" in API doc for a complete "
+ "list), for example:\n"
" - ${bar_item.name}\n"
" - buffer data (see hdata \"buffer\" in API doc for a complete "
"list), for example:\n"
diff --git a/src/plugins/buflist/buflist-config.c b/src/plugins/buflist/buflist-config.c
index 556b299af..148b0fbd6 100644
--- a/src/plugins/buflist/buflist-config.c
+++ b/src/plugins/buflist/buflist-config.c
@@ -440,9 +440,7 @@ buflist_config_init ()
buflist_config_file, ptr_section,
"display_conditions", "string",
N_("conditions to display a buffer "
- "(note: content is evaluated, see /help buflist); variables "
- "available are: bar_item, buffer, irc_server and irc_channel "
- "(see /help buflist for more information); for example "
+ "(note: content is evaluated, see /help buflist); for example "
"to hide server buffers if they are merged with core buffer: "
"\"${buffer.hidden}==0 && ((${type}!=server && "
"${buffer.full_name}!=core.weechat) || ${buffer.active}==1)\""),