To: vim_dev@googlegroups.com Subject: Patch 8.2.3643 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3643 Problem: Header for source file is outdated. Solution: Make the header more accurate. (closes #9186) Files: src/map.c, src/getchar.c *** ../vim-8.2.3642/src/map.c 2021-07-30 20:32:41.448722501 +0100 --- src/map.c 2021-11-22 12:46:42.919438461 +0000 *************** *** 8,14 **** */ /* ! * map.c: functions for maps and abbreviations */ #include "vim.h" --- 8,14 ---- */ /* ! * map.c: Code for mappings and abbreviations. */ #include "vim.h" *************** *** 659,667 **** // Find an entry in the maphash[] list that matches. // For :unmap we may loop two times: once to try to unmap an entry with // a matching 'from' part, a second time, if the first fails, to unmap ! // an entry with a matching 'to' part. This was done to allow ":ab foo ! // bar" to be unmapped by typing ":unab foo", where "foo" will be ! // replaced by "bar" because of the abbreviation. for (round = 0; (round == 0 || maptype == 1) && round <= 1 && !did_it && !got_int; ++round) { --- 659,667 ---- // Find an entry in the maphash[] list that matches. // For :unmap we may loop two times: once to try to unmap an entry with // a matching 'from' part, a second time, if the first fails, to unmap ! // an entry with a matching 'to' part. This was done to allow ! // ":ab foo bar" to be unmapped by typing ":unab foo", where "foo" will ! // be replaced by "bar" because of the abbreviation. for (round = 0; (round == 0 || maptype == 1) && round <= 1 && !did_it && !got_int; ++round) { *** ../vim-8.2.3642/src/getchar.c 2021-11-14 14:05:14.813052501 +0000 --- src/getchar.c 2021-11-22 12:46:45.607446663 +0000 *************** *** 8,19 **** */ /* ! * getchar.c ! * ! * functions related with getting a character from the user/mapping/redo/... ! * ! * manipulations with redo buffer and stuff buffer ! * mappings and abbreviations */ #include "vim.h" --- 8,15 ---- */ /* ! * getchar.c: Code related to getting a character from the user or a script ! * file, manipulations with redo buffer and stuff buffer. */ #include "vim.h" *************** *** 2633,2639 **** keylen = KEYLEN_PART_KEY; // If no termcode matched, try to include the modifier into the ! // key. This for when modifyOtherKeys is working. if (keylen == 0 && !no_reduce_keys) keylen = check_simplify_modifier(max_mlen + 1); --- 2629,2635 ---- keylen = KEYLEN_PART_KEY; // If no termcode matched, try to include the modifier into the ! // key. This is for when modifyOtherKeys is working. if (keylen == 0 && !no_reduce_keys) keylen = check_simplify_modifier(max_mlen + 1); *** ../vim-8.2.3642/src/version.c 2021-11-22 12:06:03.558863343 +0000 --- src/version.c 2021-11-22 12:46:07.039325021 +0000 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3643, /**/ -- LAUNCELOT: Isn't there a St. Aaaaarrrrrrggghhh's in Cornwall? ARTHUR: No, that's Saint Ives. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///