forked from aniani/vim
patch 8.0.1109: timer causes error on exit from Ex mode
Problem: Timer causes error on exit from Ex mode. (xtal8)
Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt,
closes #2079)
This commit is contained in:
@@ -12418,3 +12418,17 @@ ex_folddo(exarg_T *eap)
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
# if defined(FEAT_TIMERS) || defined(PROTO)
|
||||
int
|
||||
get_pressedreturn(void)
|
||||
{
|
||||
return ex_pressedreturn;
|
||||
}
|
||||
|
||||
void
|
||||
set_pressedreturn(int val)
|
||||
{
|
||||
ex_pressedreturn = val;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user