Mercurial > vim
comparison src/ex_cmds.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 | bb402c49379d |
children | 845608965bd9 |
comparison
equal
deleted
inserted
replaced
5734:657ade71d395 | 5735:50dbef5e774a |
---|---|
3272 if (fnum == 0 && other_file && ffname != NULL) | 3272 if (fnum == 0 && other_file && ffname != NULL) |
3273 (void)setaltfname(ffname, sfname, newlnum < 0 ? 0 : newlnum); | 3273 (void)setaltfname(ffname, sfname, newlnum < 0 ? 0 : newlnum); |
3274 goto theend; | 3274 goto theend; |
3275 } | 3275 } |
3276 | 3276 |
3277 #ifdef FEAT_VISUAL | |
3278 /* | 3277 /* |
3279 * End Visual mode before switching to another buffer, so the text can be | 3278 * End Visual mode before switching to another buffer, so the text can be |
3280 * copied into the GUI selection buffer. | 3279 * copied into the GUI selection buffer. |
3281 */ | 3280 */ |
3282 reset_VIsual(); | 3281 reset_VIsual(); |
3283 #endif | |
3284 | 3282 |
3285 #ifdef FEAT_AUTOCMD | 3283 #ifdef FEAT_AUTOCMD |
3286 if ((command != NULL || newlnum > (linenr_T)0) | 3284 if ((command != NULL || newlnum > (linenr_T)0) |
3287 && *get_vim_var_str(VV_SWAPCOMMAND) == NUL) | 3285 && *get_vim_var_str(VV_SWAPCOMMAND) == NUL) |
3288 { | 3286 { |