vim-patch:9.1.0911: Variable name for 'messagesopt' doesn't match short name

Problem:  Variable name for 'messagesopt' doesn't match short name
          (after v9.1.0908)
Solution: Change p_meo to p_mopt.  Add more details to docs.

closes: vim/vim#16182

8cc43daee1
This commit is contained in:
zeertzjq
2024-12-08 07:01:59 +08:00
parent f3fa6507f2
commit 96329910b0
7 changed files with 37 additions and 31 deletions

View File

@@ -1063,7 +1063,7 @@ int messagesopt_changed(void)
int messages_wait_new = 0;
int messages_history_new = 0;
char *p = p_meo;
char *p = p_mopt;
while (*p != NUL) {
if (strnequal(p, S_LEN(MESSAGES_OPT_HIT_ENTER))) {
p += STRLEN_LITERAL(MESSAGES_OPT_HIT_ENTER);