0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0186

This commit is contained in:
Bram Moolenaar
2006-01-23 22:23:09 +00:00
parent 33aec765bd
commit 09df3127f4
3 changed files with 46 additions and 18 deletions

View File

@@ -2365,7 +2365,7 @@ vgetorpeek(advance)
colnr_T col = 0, vcol;
char_u *ptr;
if (p_smd)
if (p_smd && msg_silent == 0)
{
unshowmode(TRUE);
mode_deleted = TRUE;
@@ -2641,7 +2641,7 @@ vgetorpeek(advance)
* if we return an ESC to exit insert mode, the message is deleted
* if we don't return an ESC but deleted the message before, redisplay it
*/
if (advance && p_smd && (State & INSERT))
if (advance && p_smd && msg_silent == 0 && (State & INSERT))
{
if (c == ESC && !mode_deleted && !no_mapping)
{