diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-04 18:08:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-04 18:08:14 +0100 |
commit | f2bd8ef2b4507d02c6043affff8f7e85e3414d5f (patch) | |
tree | f14cb8e7ff09975920f3a813d7de4851a2972661 /src/menu.c | |
parent | 3f54fd319f6641b4bed478bcc90cdb39ede68e31 (diff) | |
download | vim-git-f2bd8ef2b4507d02c6043affff8f7e85e3414d5f.tar.gz |
patch 8.0.1564: too many #ifdefsv8.0.1564
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/menu.c b/src/menu.c index e453135ae..107cabce6 100644 --- a/src/menu.c +++ b/src/menu.c @@ -1907,7 +1907,6 @@ show_popupmenu(void) return; mode = menu_mode_chars[mode]; -# ifdef FEAT_AUTOCMD { char_u ename[2]; @@ -1915,7 +1914,6 @@ show_popupmenu(void) ename[1] = NUL; apply_autocmds(EVENT_MENUPOPUP, ename, NULL, FALSE, curbuf); } -# endif for (menu = root_menu; menu != NULL; menu = menu->next) if (STRNCMP("PopUp", menu->name, 5) == 0 && menu->name[5] == mode) |