From b3dd47edd8af9a5c8e7aa97f974082180ea0ec5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= <flashcode@flashtux.org>
Date: Fri, 23 Jun 2017 12:00:34 +0200
Subject: buflist: add variable `${format_name}` in bar item evaluation and
 option buflist.format.name (issue #1020)

---
 doc/en/autogen/user/buflist_options.adoc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'doc/en/autogen/user/buflist_options.adoc')

diff --git a/doc/en/autogen/user/buflist_options.adoc b/doc/en/autogen/user/buflist_options.adoc
index 5cc2cefc3..490e6d2de 100644
--- a/doc/en/autogen/user/buflist_options.adoc
+++ b/doc/en/autogen/user/buflist_options.adoc
@@ -6,7 +6,7 @@
 ** description: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)]
 ** type: string
 ** values: any string
-** default value: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${name}"+`
+** default value: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+`
 
 * [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
 ** description: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)]
@@ -68,6 +68,12 @@
 ** values: any string
 ** default value: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
 
+* [[option_buflist.format.name]] *buflist.format.name*
+** description: pass:none[format for buffer name (note: content is evaluated, see /help buflist)]
+** type: string
+** values: any string
+** default value: `+"${name}"+`
+
 * [[option_buflist.format.nick_prefix]] *buflist.format.nick_prefix*
 ** description: pass:none[format for nick prefix on a channel (note: content is evaluated, see /help buflist)]
 ** type: string
-- 
cgit v1.2.3

