]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4723: the ModeChanged autocmd event is inefficient v8.2.4723
authorLemonBoy <thatlemon@gmail.com>
Sat, 9 Apr 2022 17:17:34 +0000 (18:17 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 9 Apr 2022 17:17:34 +0000 (18:17 +0100)
commit2bf52dd065495cbf28e28792f2c2d50d44546d9f
treef6c2fabb35e2f7f12f441d76048b3f1575f4a6b4
parent81b46a6ccd818609e1ca8cd410e26a58428c30ba
patch 8.2.4723: the ModeChanged autocmd event is inefficient

Problem:    The ModeChanged autocmd event is inefficient.
Solution:   Avoid allocating memory. (closes #10134)  Rename
            trigger_modechanged() to may_trigger_modechanged().
src/autocmd.c
src/edit.c
src/ex_docmd.c
src/ex_getln.c
src/insexpand.c
src/misc1.c
src/normal.c
src/proto/misc1.pro
src/terminal.c
src/version.c