0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.0.0301: the message window popup is delayed after an error message

Problem:    The message window popup is delayed after an error message.
Solution:   Do not set emsg_on_display when using the message window.
This commit is contained in:
Bram Moolenaar
2022-08-28 17:53:23 +01:00
parent a85e4db978
commit 878e1d25a0
2 changed files with 8 additions and 2 deletions

View File

@@ -750,7 +750,11 @@ emsg_core(char_u *s)
#endif #endif
} }
#ifdef HAS_MESSAGE_WINDOW
if (!use_message_window())
#endif
emsg_on_display = TRUE; // remember there is an error message emsg_on_display = TRUE; // remember there is an error message
attr = HL_ATTR(HLF_E); // set highlight mode for error messages attr = HL_ATTR(HLF_E); // set highlight mode for error messages
if (msg_scrolled != 0) if (msg_scrolled != 0)
need_wait_return = TRUE; // needed in case emsg() is called after need_wait_return = TRUE; // needed in case emsg() is called after

View File

@@ -707,6 +707,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
301,
/**/ /**/
300, 300,
/**/ /**/