Mercurial > vim
diff src/misc1.c @ 2165:733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 15 May 2010 21:13:04 +0200 |
parents | 00d8ddf20102 |
children | cb94c42c0e1a |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -2514,28 +2514,19 @@ changed() msg_scroll = save_msg_scroll; } } - changed_int(); + curbuf->b_changed = TRUE; + ml_setflags(curbuf); +#ifdef FEAT_WINDOWS + check_status(curbuf); + redraw_tabline = TRUE; +#endif +#ifdef FEAT_TITLE + need_maketitle = TRUE; /* set window title later */ +#endif } ++curbuf->b_changedtick; } -/* - * Internal part of changed(), no user interaction. - */ - void -changed_int() -{ - curbuf->b_changed = TRUE; - ml_setflags(curbuf); -#ifdef FEAT_WINDOWS - check_status(curbuf); - redraw_tabline = TRUE; -#endif -#ifdef FEAT_TITLE - need_maketitle = TRUE; /* set window title later */ -#endif -} - static void changedOneline __ARGS((buf_T *buf, linenr_T lnum)); static void changed_lines_buf __ARGS((buf_T *buf, linenr_T lnum, linenr_T lnume, long xtra)); static void changed_common __ARGS((linenr_T lnum, colnr_T col, linenr_T lnume, long xtra));