Mercurial > vim
diff src/buffer.c @ 5735:50dbef5e774a v7.4.212
updated for version 7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Mar 2014 15:13:05 +0100 |
parents | 06e5f65c34d8 |
children | 29eb4c2a33ac |
line wrap: on
line diff
--- a/src/buffer.c +++ b/src/buffer.c @@ -1432,10 +1432,8 @@ set_curbuf(buf, action) curwin->w_alt_fnum = curbuf->b_fnum; /* remember alternate file */ buflist_altfpos(curwin); /* remember curpos */ -#ifdef FEAT_VISUAL /* Don't restart Select mode after switching to another buffer. */ VIsual_reselect = FALSE; -#endif /* close_windows() or apply_autocmds() may change curbuf */ prevbuf = curbuf;