comparison 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
comparison
equal deleted inserted replaced
5734:657ade71d395 5735:50dbef5e774a
1430 setpcmark(); 1430 setpcmark();
1431 if (!cmdmod.keepalt) 1431 if (!cmdmod.keepalt)
1432 curwin->w_alt_fnum = curbuf->b_fnum; /* remember alternate file */ 1432 curwin->w_alt_fnum = curbuf->b_fnum; /* remember alternate file */
1433 buflist_altfpos(curwin); /* remember curpos */ 1433 buflist_altfpos(curwin); /* remember curpos */
1434 1434
1435 #ifdef FEAT_VISUAL
1436 /* Don't restart Select mode after switching to another buffer. */ 1435 /* Don't restart Select mode after switching to another buffer. */
1437 VIsual_reselect = FALSE; 1436 VIsual_reselect = FALSE;
1438 #endif
1439 1437
1440 /* close_windows() or apply_autocmds() may change curbuf */ 1438 /* close_windows() or apply_autocmds() may change curbuf */
1441 prevbuf = curbuf; 1439 prevbuf = curbuf;
1442 1440
1443 #ifdef FEAT_AUTOCMD 1441 #ifdef FEAT_AUTOCMD