To: vim-dev@vim.org Subject: Patch 5.6a.008 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6a.008 Problem: Selecting a syntax from the Syntax menu gives an error message. Solution: Replace "else if" in SetSyn() with "elseif". (Ronald Schild) Files: runtime/menu.vim *** ../vim-5.6a.7/runtime/menu.vim Mon Dec 20 09:59:35 1999 --- runtime/menu.vim Wed Dec 22 10:07:47 1999 *************** *** 3,9 **** " Note that ":amenu" is often used to make a menu work in all modes. " " Maintainer: Bram Moolenaar ! " Last change: 1999 Dec 18 " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise " would not be recognized. See ":help 'cpoptions'". --- 3,9 ---- " Note that ":amenu" is often used to make a menu work in all modes. " " Maintainer: Bram Moolenaar ! " Last change: 1999 Dec 22 " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise " would not be recognized. See ":help 'cpoptions'". *************** *** 426,432 **** let use_fvwm_1 = 1 let use_fvwm_2 = 0 let name = "fvwm" ! else if a:name == "fvwm2" let use_fvwm_2 = 1 let use_fvwm_1 = 0 let name = "fvwm" --- 426,432 ---- let use_fvwm_1 = 1 let use_fvwm_2 = 0 let name = "fvwm" ! elseif a:name == "fvwm2" let use_fvwm_2 = 1 let use_fvwm_1 = 0 let name = "fvwm" *** ../vim-5.6a.7/src/version.c Wed Dec 22 10:39:40 1999 --- src/version.c Wed Dec 22 10:41:39 1999 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 8, /**/ -- JOHN CLEESE PLAYED: SECOND SOLDIER WITH A KEEN INTEREST IN BIRDS, LARGE MAN WITH DEAD BODY, BLACK KNIGHT, MR NEWT (A VILLAGE BLACKSMITH INTERESTED IN BURNING WITCHES), A QUITE EXTRAORDINARILY RUDE FRENCHMAN, TIM THE WIZARD, SIR LAUNCELOT "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /