Marius Gedminas wrote:
> On Fri, May 22, 2020 at 01:11:18PM +0200, Bram Moolenaar wrote: > > Patch 8.2.0807 > > Problem: Cannot easily restore a mapping. > > Solution: Add mapset(). > > Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, > > src/evalfunc.c > > src/testdir/test_maparg.vim > > > *** ../vim-8.2.0806/runtime/doc/eval.txt 2020-05-13 16:34:10.397723799 > > +0200 > > --- runtime/doc/eval.txt 2020-05-22 12:52:07.920142788 +0200 > > *************** > > *** 2582,2587 **** > > --- 2586,2593 ---- > > rhs of mapping {name} in mode {mode} > > mapcheck({name} [, {mode} [, {abbr}]]) > > String check for mappings matching {name} > > + mapset({name}, {mode}, {abbr}, {dict} > > This line is missing a closing ) Right, and {name} should not be there. -- hundred-and-one symptoms of being an internet addict: 164. You got out to buy software, instead of going out for a beer. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202005221841.04MIfN8m024111%40masaka.moolenaar.net.