Protect unsupported "silent" command in an exec.
This is necessary even though the command is called in a block only
executed by Vim 6 or later.
" Set colours.
if has("gui_running")
if has("win32")
- silent se guifont=DejaVu_Sans_Mono:h10:cANSI
+ exe "silent se guifont=DejaVu_Sans_Mono:h10:cANSI"
else
- silent se guifont=DejaVu\ Sans\ Mono\ 10
+ exe "silent se guifont=DejaVu\\ Sans\\ Mono\\ 10"
endif
endif
if has("gui_running") || &t_Co > 16
- silent colo iain
+ exe "silent colo iain"
endif
" Ignore whitespace when diffing.