]> granicus.if.org Git - vim/commitdiff
updated for version 7.2a-004 v7.2a.004
authorBram Moolenaar <Bram@vim.org>
Fri, 27 Jun 2008 18:58:11 +0000 (18:58 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 27 Jun 2008 18:58:11 +0000 (18:58 +0000)
runtime/autoload/spellfile.vim
src/version.c

index 1ca76a4aeb1a6d13dc45db92fbaa26d241c7659f..9979f1bd09d42d5eb1fae17512a7e21259bc21ea 100644 (file)
@@ -1,9 +1,15 @@
 " Vim script to download a missing spell file
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last Change: 2008 May 29
+" Last Change: 2008 Jun 27
 
 if !exists('g:spellfile_URL')
-  let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell'
+  " Prefer using http:// when netrw should be able to use it, since
+  " more firewalls let this through.
+  if executable("curl") || executable("wget") || executable("fetch")
+    let g:spellfile_URL = 'http://ftp.vim.org/pub/vim/runtime/spell'
+  else
+    let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell'
+  endif
 endif
 let s:spellfile_URL = ''    " Start with nothing so that s:donedict is reset.
 
index 61adb887b0949f6d77d1c6797686baf40fee4e5e..18881a73ceaa691a4dc4ca87dbcf180a292c14c4 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4,
 /**/
     3,
 /**/