To: vim_dev@googlegroups.com Subject: Patch 8.2.4620 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4620 (after 8.2.4618) Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan) Solution: Invert condition. Files: src/ex_docmd.c *** ../vim-8.2.4619/src/ex_docmd.c 2022-03-24 13:08:31.883820059 +0000 --- src/ex_docmd.c 2022-03-24 15:20:57.818210172 +0000 *************** *** 3431,3437 **** static int one_letter_cmd(char_u *p, cmdidx_T *idx) { ! if (!in_vim9script()) return FALSE; if (*p == 'k') { --- 3431,3437 ---- static int one_letter_cmd(char_u *p, cmdidx_T *idx) { ! if (in_vim9script()) return FALSE; if (*p == 'k') { *** ../vim-8.2.4619/src/version.c 2022-03-24 15:15:05.352816711 +0000 --- src/version.c 2022-03-24 15:22:11.186345437 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4620, /**/ -- MORTICIAN: What? CUSTOMER: Nothing -- here's your nine pence. DEAD PERSON: I'm not dead! MORTICIAN: Here -- he says he's not dead! CUSTOMER: Yes, he is. DEAD PERSON: I'm not! The Quest for the Holy Grail (Monty Python) /// 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 ///