Mercurial > vim
comparison src/ex_cmds.c @ 1683:75dbeedddaa9 v7.2b.016
updated for version 7.2b-016
author | vimboss |
---|---|
date | Thu, 24 Jul 2008 16:45:38 +0000 |
parents | 0b796e045c42 |
children | b2e037ed7e33 |
comparison
equal
deleted
inserted
replaced
1682:81059e8b657d | 1683:75dbeedddaa9 |
---|---|
3139 else | 3139 else |
3140 { | 3140 { |
3141 #ifdef FEAT_BROWSE | 3141 #ifdef FEAT_BROWSE |
3142 if (cmdmod.browse) | 3142 if (cmdmod.browse) |
3143 { | 3143 { |
3144 # ifdef FEAT_AUTOCMD | |
3144 if ( | 3145 if ( |
3145 # ifdef FEAT_GUI | 3146 # ifdef FEAT_GUI |
3146 !gui.in_use && | 3147 !gui.in_use && |
3147 # endif | 3148 # endif |
3148 au_has_group((char_u *)"FileExplorer")) | 3149 au_has_group((char_u *)"FileExplorer")) |
3149 { | 3150 { |
3150 /* No browsing supported but we do have the file explorer: | 3151 /* No browsing supported but we do have the file explorer: |
3151 * Edit the directory. */ | 3152 * Edit the directory. */ |
3152 if (ffname == NULL || !mch_isdir(ffname)) | 3153 if (ffname == NULL || !mch_isdir(ffname)) |
3153 ffname = (char_u *)"."; | 3154 ffname = (char_u *)"."; |
3154 } | 3155 } |
3155 else | 3156 else |
3157 # endif | |
3156 { | 3158 { |
3157 browse_file = do_browse(0, (char_u *)_("Edit File"), ffname, | 3159 browse_file = do_browse(0, (char_u *)_("Edit File"), ffname, |
3158 NULL, NULL, NULL, curbuf); | 3160 NULL, NULL, NULL, curbuf); |
3159 if (browse_file == NULL) | 3161 if (browse_file == NULL) |
3160 goto theend; | 3162 goto theend; |