From d5d37537d1fa46fd468bd378af2006dd09840f38 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 27 Mar 2017 23:02:07 +0200 Subject: patch 8.0.0515: ml_get errors in silent Ex mode Problem: ml_get errors in silent Ex mode. (Dominique Pelle) Solution: Clear valid flags when setting the cursor. Set the topline when not in full screen mode. --- src/ex_docmd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ex_docmd.c') diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 8755f0549..dd5e0a8c4 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -10361,6 +10361,7 @@ ex_normal(exarg_T *eap) { curwin->w_cursor.lnum = eap->line1++; curwin->w_cursor.col = 0; + check_cursor_moved(curwin); } exec_normal_cmd( -- cgit v1.2.1