1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

core: do not evaluate properties "key_bind_xxx" and "key_unbind_xxx" in options weechat.buffer.* (issue #352)

This commit is contained in:
Sébastien Helleu
2023-08-30 17:25:21 +02:00
parent c2b6523d9f
commit 2b3fb62065
16 changed files with 860 additions and 834 deletions
+5 -4
View File
@@ -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 (