diff options
-rw-r--r-- | src/ex_docmd.c | 9 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 15ce34247..35e44f0f3 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -9526,8 +9526,15 @@ ex_normal(eap) msg_didout |= save_msg_didout; /* don't reset msg_didout now */ /* Restore the state (needed when called from a function executed for - * 'indentexpr'). */ + * 'indentexpr'). Update the mouse and cursor, they may have changed. */ State = save_State; +#ifdef FEAT_MOUSE + setmouse(); +#endif +#ifdef CURSOR_SHAPE + ui_cursor_shape(); /* may show different cursor shape */ +#endif + #ifdef FEAT_MBYTE vim_free(arg); #endif diff --git a/src/version.c b/src/version.c index 378818e66..ec0e667e2 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 494, +/**/ 493, /**/ 492, |