From 5e3cb7e8699f855193179a8cb799d1087f4a2ac9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 27 Feb 2006 23:58:35 +0000 Subject: updated for version 7.0209 --- src/misc1.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/misc1.c') diff --git a/src/misc1.c b/src/misc1.c index 09b9ab1dc..c9deb85fe 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -2833,6 +2833,12 @@ changed_common(lnum, col, lnume, xtra) * since it notices b_mod_set and then uses b_mod_*. */ if (must_redraw < VALID) must_redraw = VALID; + +#ifdef FEAT_AUTOCMD + /* when the cursor line is changed always trigger CursorMoved */ + if (lnum <= curwin->w_cursor.lnum && lnume > curwin->w_cursor.lnum) + last_cursormoved.lnum = 0; +#endif } /* -- cgit v1.2.1