diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-04-20 22:00:17 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-04-20 22:00:17 +0200 |
commit | 669ca77c415d98aefdccd31d79842b5a8b0307ca (patch) | |
tree | aa66ae7d2806fb68bdf3d3083b1413cf6273aaba /src/plugins/buflist | |
parent | c946b3e3614fa3c2bd72d9b6cdb7c649319302bb (diff) | |
download | weechat-669ca77c415d98aefdccd31d79842b5a8b0307ca.zip |
buflist: add example in /help buflist.look.display_conditions
Diffstat (limited to 'src/plugins/buflist')
-rw-r--r-- | src/plugins/buflist/buflist-config.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/buflist/buflist-config.c b/src/plugins/buflist/buflist-config.c index d5640227a..1933a5a99 100644 --- a/src/plugins/buflist/buflist-config.c +++ b/src/plugins/buflist/buflist-config.c @@ -299,7 +299,10 @@ buflist_config_init () buflist_config_file, ptr_section, "display_conditions", "string", N_("conditions to display a buffer " - "(note: content is evaluated, see /help buflist)"), + "(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)\""), NULL, 0, 0, "${buffer.hidden}==0", NULL, 0, |