To: vim_dev@googlegroups.com Subject: Patch 8.2.4604 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4604 Problem: Error for redefining a script item may be confusing. Solution: Put quotes around the name. Files: src/errors.h *** ../vim-8.2.4603/src/errors.h 2022-03-16 20:01:10.429458496 +0000 --- src/errors.h 2022-03-21 11:52:54.523767720 +0000 *************** *** 2715,2721 **** INIT(= N_("E1040: Cannot use :scriptversion after :vim9script")); #ifdef FEAT_EVAL EXTERN char e_redefining_script_item_str[] ! INIT(= N_("E1041: Redefining script item %s")); EXTERN char e_export_can_only_be_used_in_vim9script[] INIT(= N_("E1042: Export can only be used in vim9script")); EXTERN char e_invalid_command_after_export[] --- 2715,2721 ---- INIT(= N_("E1040: Cannot use :scriptversion after :vim9script")); #ifdef FEAT_EVAL EXTERN char e_redefining_script_item_str[] ! INIT(= N_("E1041: Redefining script item: \"%s\"")); EXTERN char e_export_can_only_be_used_in_vim9script[] INIT(= N_("E1042: Export can only be used in vim9script")); EXTERN char e_invalid_command_after_export[] *** ../vim-8.2.4603/src/version.c 2022-03-21 19:45:13.200420997 +0000 --- src/version.c 2022-03-21 19:47:00.232608075 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4604, /**/ -- Not too long ago, cut and paste was done with scissors and glue... /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///