summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-07-01 19:56:57 +0000
committerBram Moolenaar <Bram@vim.org>2008-07-01 19:56:57 +0000
commite30de2d1dc40ede717b744926daf3b60dc64e22d (patch)
treedef80cfbfd3a54a57ad003cf4413f6b92460ae5b /runtime
parent89bf0927af4c8c3bbd2b9ae4558e0a581380d83f (diff)
downloadvim-git-e30de2d1dc40ede717b744926daf3b60dc64e22d.tar.gz
updated for version 7.2a-011v7.2a.011
Diffstat (limited to 'runtime')
-rw-r--r--runtime/menu.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/menu.vim b/runtime/menu.vim
index d120ce293..fab890e68 100644
--- a/runtime/menu.vim
+++ b/runtime/menu.vim
@@ -2,7 +2,7 @@
" You can also use this as a start for your own set of menus.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2008 Jun 16
+" 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,17 +186,17 @@ an 20.435 &Edit.Startup\ &Settings :call <SID>EditVimrc()<CR>
fun! s:EditVimrc()
if $MYVIMRC != ''
- let fname = "$MYVIMRC"
+ let fname = $MYVIMRC
elseif has("win32") || has("dos32") || has("dos16") || has("os2")
if $HOME != ''
- let fname = "$HOME/_vimrc"
+ let fname = $HOME . "/_vimrc"
else
- let fname = "$VIM/_vimrc"
+ let fname = $VIM . "/_vimrc"
endif
elseif has("amiga")
let fname = "s:.vimrc"
else
- let fname = "$HOME/.vimrc"
+ let fname = $HOME . "/.vimrc"
endif
let fname = s:FnameEscape(fname)
if &mod