mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.0.1665: empty CmdlineEnter autocommand causes errors in Ex mode
Problem: Empty CmdlineEnter autocommand causes errors in Ex mode. Solution: Save and restore ex_pressedreturn. (Christian Brabandt, closes # 12581, closes #12578)
This commit is contained in:
committed by
Bram Moolenaar
parent
8154e642aa
commit
590aae3557
@ -9840,7 +9840,6 @@ is_loclist_cmd(int cmdidx)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_TIMERS) || defined(PROTO)
|
||||
int
|
||||
get_pressedreturn(void)
|
||||
{
|
||||
@ -9852,4 +9851,3 @@ set_pressedreturn(int val)
|
||||
{
|
||||
ex_pressedreturn = val;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user