diff options
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index dceb1a739..6ae5969a0 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4221,9 +4221,7 @@ do_sub(exarg_T *eap) * properly */ save_State = State; State = CONFIRM; -#ifdef FEAT_MOUSE - setmouse(); /* disable mouse in xterm */ -#endif + setmouse(); // disable mouse in xterm curwin->w_cursor.col = regmatch.startpos[0].col; if (curwin->w_p_crb) do_check_cursorbind(); @@ -4397,9 +4395,7 @@ do_sub(exarg_T *eap) scrolldown_clamp(); } State = save_State; -#ifdef FEAT_MOUSE setmouse(); -#endif if (vim_strchr(p_cpo, CPO_UNDO) != NULL) --no_u_sync; |