diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-09-14 14:33:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-09-14 14:33:51 +0200 |
commit | 52af96527c914599334e3c2543ebb5ba1e37bbbe (patch) | |
tree | 36939145f36b2d6a7f0f7954b09108927fb64d3a /src/eval.c | |
parent | 612af43cb64d06a57211200296068f3f10126ce0 (diff) | |
download | vim-52af96527c914599334e3c2543ebb5ba1e37bbbe.zip |
updated for version 7.3.305
Problem: Auto-loading a function while editing the command line causes
scrolling up the display.
Solution: Don't set msg_scroll when defining a function and the user is not
typing. (Yasuhiro Matsumoto)
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index e9ab0359a..f66fb1b57 100644 --- a/src/eval.c +++ b/src/eval.c @@ -20786,7 +20786,8 @@ ex_function(eap) nesting = 0; for (;;) { - msg_scroll = TRUE; + if (KeyTyped) + msg_scroll = TRUE; need_wait_return = FALSE; sourcing_lnum_off = sourcing_lnum; |