Patch 7.2a.011
Problem:    The Edit/Startup Settings menu doesn't work.
Solution:   Expand environment variables. (Ben Schmidt)
Files:      runtime/menu.vim


*** ../vim-7.2a.010/runtime/menu.vim    Wed Jun 25 21:51:59 2008
--- runtime/menu.vim    Mon Jun 30 22:54:27 2008
***************
*** 2,8 ****
  " You can also use this as a start for your own set of menus.
  "
  " Maintainer: Bram Moolenaar <[EMAIL PROTECTED]>
! " Last Change:        2008 Jun 16
  
  " Note that ":an" (short for ":anoremenu") is often used to make a menu work
  " in all modes and avoid side effects from mappings defined by the user.
--- 2,8 ----
  " You can also use this as a start for your own set of menus.
  "
  " Maintainer: Bram Moolenaar <[EMAIL PROTECTED]>
! " Last Change:        2008 Jun 30
  
  " Note that ":an" (short for ":anoremenu") is often used to make a menu work
  " in all modes and avoid side effects from mappings defined by the user.
***************
*** 186,202 ****
  
  fun! s:EditVimrc()
    if $MYVIMRC != ''
!     let fname = "$MYVIMRC"
    elseif has("win32") || has("dos32") || has("dos16") || has("os2")
      if $HOME != ''
!       let fname = "$HOME/_vimrc"
      else
!       let fname = "$VIM/_vimrc"
      endif
    elseif has("amiga")
      let fname = "s:.vimrc"
    else
!     let fname = "$HOME/.vimrc"
    endif
    let fname = s:FnameEscape(fname)
    if &mod
--- 186,202 ----
  
  fun! s:EditVimrc()
    if $MYVIMRC != ''
!     let fname = $MYVIMRC
    elseif has("win32") || has("dos32") || has("dos16") || has("os2")
      if $HOME != ''
!       let fname = $HOME . "/_vimrc"
      else
!       let fname = $VIM . "/_vimrc"
      endif
    elseif has("amiga")
      let fname = "s:.vimrc"
    else
!     let fname = $HOME . "/.vimrc"
    endif
    let fname = s:FnameEscape(fname)
    if &mod
*** ../vim-7.2a.010/src/version.c       Sun Jun 29 16:15:20 2008
--- src/version.c       Tue Jul  1 21:55:12 2008
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     11,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
137. You decide to stay in college for an additional year or two,
     just so you can have the free Internet access.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui