summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-08-30 17:25:21 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-08-30 17:25:21 +0200
commit2b3fb620651bd0ba302ea7ae7e2b4c03673d19a7 (patch)
tree7aedd8a407d3dfd65a5d6eee0da2f4846f30a4cd /src/core
parentc2b6523d9fe1dfc19b07c89f5778b994871b9659 (diff)
downloadweechat-2b3fb620651bd0ba302ea7ae7e2b4c03673d19a7.zip
core: do not evaluate properties "key_bind_xxx" and "key_unbind_xxx" in options weechat.buffer.* (issue #352)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-config.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index e2d7ae3bd..f90165fcb 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -2561,10 +2561,11 @@ config_weechat_buffer_create_option_cb (const void *pointer, void *data,
snprintf (description, sizeof (description),
_("set property \"%s\" on any buffer matching "
"mask \"%s\"; "
- "content is evaluated, see /help eval; "
- "${buffer} is a pointer to the buffer being "
- "opened, ${property} is the name of the property "
- "being set"),
+ "content is evaluated (see /help eval) for all "
+ "properties except \"key_bind_xxx\" and "
+ "\"key_unbind_xxx\"; when evaluation is done, "
+ "${buffer} is a pointer to the buffer being opened, "
+ "${property} is the name of the property being set"),
pos + 1,
buffer_mask);
ptr_option = config_file_new_option (