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:
@@ -750,8 +750,12 @@ emsg_core(char_u *s)
|
||||
#endif
|
||||
}
|
||||
|
||||
emsg_on_display = TRUE; // remember there is an error message
|
||||
attr = HL_ATTR(HLF_E); // set highlight mode for error messages
|
||||
#ifdef HAS_MESSAGE_WINDOW
|
||||
if (!use_message_window())
|
||||
#endif
|
||||
emsg_on_display = TRUE; // remember there is an error message
|
||||
|
||||
attr = HL_ATTR(HLF_E); // set highlight mode for error messages
|
||||
if (msg_scrolled != 0)
|
||||
need_wait_return = TRUE; // needed in case emsg() is called after
|
||||
// wait_return has reset need_wait_return
|
||||
|
@@ -707,6 +707,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
301,
|
||||
/**/
|
||||
300,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user