]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1442: mapset() does not restore non-script context v9.0.1442
authorzeertzjq <zeertzjq@outlook.com>
Fri, 7 Apr 2023 21:09:46 +0000 (22:09 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 7 Apr 2023 21:09:46 +0000 (22:09 +0100)
commitbfc7cbd1d44e53e844a079d8ad16ae990dad664d
tree48b6f03687d9f05e58fd1378dac657c506e79ffc
parentb6ebe5af74a965d703eb8ee66a07c97b0bbe6e58
patch 9.0.1442: mapset() does not restore non-script context

Problem:    mapset() does not restore non-script context.
Solution:   Also accept negative sid. (closes #12132)
src/map.c
src/testdir/test_map_functions.vim
src/version.c