4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When $LANG includes the encoding, a menu without an encoding name
13 Solution: Also look for a menu file without any encoding.
14 Files: runtime/menu.vim
17 *** ../vim-6.2.109/runtime/menu.vim Sun May 4 22:58:58 2003
18 --- runtime/menu.vim Sat Sep 20 20:47:07 2003
21 " You can also use this as a start for your own set of menus.
23 " Maintainer: Bram Moolenaar <Bram@vim.org>
24 ! " Last Change: 2003 May 04
26 " Note that ":an" (short for ":anoremenu") is often used to make a menu work
27 " in all modes and avoid side effects from mappings defined by the user.
29 " You can also use this as a start for your own set of menus.
31 " Maintainer: Bram Moolenaar <Bram@vim.org>
32 ! " Last Change: 2003 Set 20
34 " Note that ":an" (short for ":anoremenu") is often used to make a menu work
35 " in all modes and avoid side effects from mappings defined by the user.
39 if !exists("did_menu_trans")
40 " There is no exact match, try matching with a wildcard added
41 " (e.g. find menu_de_de.iso_8859-1.vim if s:lang == de_DE).
42 + let s:lang = substitute(s:lang, "\\.[^.]*", "", "")
43 exe "runtime! lang/menu_" . s:lang . "*.vim"
45 if !exists("did_menu_trans") && strlen($LANG) > 1
46 *** ../vim-6.2.109/src/version.c Sun Oct 12 16:56:43 2003
47 --- src/version.c Sun Oct 12 16:58:17 2003
51 { /* Add new patch number below this line */
57 If Microsoft would build a car...
58 ... The airbag system would ask "are you SURE?" before deploying.
60 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
61 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
62 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
63 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///