]> granicus.if.org Git - vim/commit
patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice v9.0.1039
authorBram Moolenaar <Bram@vim.org>
Fri, 9 Dec 2022 12:21:50 +0000 (12:21 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 9 Dec 2022 12:21:50 +0000 (12:21 +0000)
commitbb393d8259af8aec095e96d81624a16ed9f25005
tree3d932f3f5377e4e902a7ae731e4b4b75f1bbe5c1
parentffa4e9b43a3d6d7f412f54637a4b1076ed2bc2f4
patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice

Problem:    Using a <Cmd> mapping CmdlineChanged may be triggered twice.
Solution:   Count the number of times CmdlineChanged is triggered and avoid
            doing it twice. (closes #116820
src/autocmd.c
src/ex_getln.c
src/globals.h
src/testdir/test_autocmd.vim
src/version.c