summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-03-23 15:13:05 +0100
committerBram Moolenaar <Bram@vim.org>2014-03-23 15:13:05 +0100
commitf7ff6e85e8a4e84cff023f5db4b66ef85986605a (patch)
tree813913a9c1d1418b5b85e3a4bc414dbeb2b3f6a3 /src/buffer.c
parenta68783751647e3243ca6f22df62907efbdbccb02 (diff)
updated for version 7.4.212v7.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.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index d68646790e..c703465e3f 100644
--- 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;