mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
refactor(messages): fold msg_attr into msg
problem: there are too many different functions in message.c solution: fold some of the functions into themselves
This commit is contained in:
@@ -443,7 +443,7 @@ int buf_write_all(buf_T *buf, int forceit)
|
||||
false, forceit, true, false));
|
||||
if (curbuf != old_curbuf) {
|
||||
msg_source(HL_ATTR(HLF_W));
|
||||
msg(_("Warning: Entered other buffer unexpectedly (check autocommands)"));
|
||||
msg(_("Warning: Entered other buffer unexpectedly (check autocommands)"), 0);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
Reference in New Issue
Block a user