To: vim-dev@vim.org Subject: patch 5.4.41 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.4.41 Problem: Some commands that were not included would give an error message, even when after "if 0". Solution: Don't give an error message for an unsupported command when not executing the command. Files: src/ex_docmd.c *** ../vim-5.4.40/src/ex_docmd.c Wed Aug 18 12:53:26 1999 --- src/ex_docmd.c Sat Aug 21 12:55:36 1999 *************** *** 2395,2401 **** #endif default: /* Illegal commands have already been handled */ ! errormsg = (char_u *)"Sorry, this command is not implemented"; } --- 2395,2402 ---- #endif default: /* Illegal commands have already been handled */ ! if (!ea.skip) ! errormsg = (char_u *)"Sorry, this command is not implemented"; } *** ../vim-5.4.40/src/version.h Sat Aug 21 13:05:05 1999 --- src/version.h Sat Aug 21 13:04:57 1999 *************** *** 19,26 **** #define VIM_VERSION_MINOR_STR "4" #define VIM_VERSION_BUILD 57 #define VIM_VERSION_BUILD_STR "57" ! #define VIM_VERSION_PATCHLEVEL 40 ! #define VIM_VERSION_PATCHLEVEL_STR "40" /* * VIM_VERSION_NODOT is used for the runtime directory name. --- 19,26 ---- #define VIM_VERSION_MINOR_STR "4" #define VIM_VERSION_BUILD 57 #define VIM_VERSION_BUILD_STR "57" ! #define VIM_VERSION_PATCHLEVEL 41 ! #define VIM_VERSION_PATCHLEVEL_STR "41" /* * VIM_VERSION_NODOT is used for the runtime directory name. *************** *** 30,35 **** */ #define VIM_VERSION_NODOT "vim54" #define VIM_VERSION_SHORT "5.4" ! #define VIM_VERSION_MEDIUM "5.4.40" ! #define VIM_VERSION_LONG "VIM - Vi IMproved 5.4.40 (1999 Aug 21)" ! #define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 5.4.40 (1999 Aug 21, compiled " --- 30,35 ---- */ #define VIM_VERSION_NODOT "vim54" #define VIM_VERSION_SHORT "5.4" ! #define VIM_VERSION_MEDIUM "5.4.41" ! #define VIM_VERSION_LONG "VIM - Vi IMproved 5.4.41 (1999 Aug 21)" ! #define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 5.4.41 (1999 Aug 21, compiled " -- hundred-and-one symptoms of being an internet addict: 172. You join listservers just for the extra e-mail. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /