commit | 52af96527c914599334e3c2543ebb5ba1e37bbbe | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Sep 14 14:33:51 2011 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Sep 14 14:33:51 2011 +0200 |
tree | 36939145f36b2d6a7f0f7954b09108927fb64d3a | |
parent | 612af43cb64d06a57211200296068f3f10126ce0 [diff] [blame] |
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)
diff --git a/src/eval.c b/src/eval.c index e9ab035..f66fb1b 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -20786,7 +20786,8 @@ nesting = 0; for (;;) { - msg_scroll = TRUE; + if (KeyTyped) + msg_scroll = TRUE; need_wait_return = FALSE; sourcing_lnum_off = sourcing_lnum;