diff src/proto/getchar.pro @ 27239:bd072d44eb2c v8.2.4148

patch 8.2.4148: deleting any mapping may cause <ScritpCmd> to fail Commit: https://github.com/vim/vim/commit/f61c89d2e698e287a9d04c0a29f4ecc0130c2ea2 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 19 22:51:48 2022 +0000 patch 8.2.4148: deleting any mapping may cause <ScritpCmd> to fail Problem: Deleting any mapping may cause <ScritpCmd> to not set the script context. Solution: Only reset last_used_map if it is the deleted mapping. (closes #9568)
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Jan 2022 00:00:07 +0100
parents a9eeb18e749c
children f103da6ba95f
line wrap: on
line diff
--- a/src/proto/getchar.pro
+++ b/src/proto/getchar.pro
@@ -53,5 +53,5 @@ void vungetc(int c);
 int fix_input_buffer(char_u *buf, int len);
 int input_available(void);
 int do_cmdkey_command(int key, int flags);
-void reset_last_used_map(void);
+void reset_last_used_map(mapblock_T *mp);
 /* vim: set ft=c : */