summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-06-25 22:34:22 +0100
committerBram Moolenaar <Bram@vim.org>2023-06-25 22:34:22 +0100
commit590aae35575cbd74d80c41d87fc647f2812aad70 (patch)
tree8efb27054cdf67fcffb5bd5943fa8df0c6ea44a1 /src/ex_docmd.c
parent8154e642aa476e1a5d3de66c34e8289845b2b797 (diff)
patch 9.0.1665: empty CmdlineEnter autocommand causes errors in Ex modev9.0.1665
Problem: Empty CmdlineEnter autocommand causes errors in Ex mode. Solution: Save and restore ex_pressedreturn. (Christian Brabandt, closes # 12581, closes #12578)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 959331a022..8fda332688 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -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