comparison src/digraph.c @ 12477:68d7bc045dbe v8.0.1118

patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs commit https://github.com/vim/vim/commit/4033c55eca575777718c0701e26635a0cc47d907 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 16 20:54:51 2017 +0200 patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
author Christian Brabandt <cb@256bit.org>
date Sat, 16 Sep 2017 21:00:06 +0200
parents 8184a3de9d9b
children 351cf7c67bbe
comparison
equal deleted inserted replaced
12476:2516383741e6 12477:68d7bc045dbe
2424 } 2424 }
2425 2425
2426 p_cpo = save_cpo; 2426 p_cpo = save_cpo;
2427 2427
2428 curbuf->b_kmap_state |= KEYMAP_LOADED; 2428 curbuf->b_kmap_state |= KEYMAP_LOADED;
2429 #ifdef FEAT_WINDOWS
2430 status_redraw_curbuf(); 2429 status_redraw_curbuf();
2431 #endif
2432 } 2430 }
2433 2431
2434 /* 2432 /*
2435 * Stop using 'keymap'. 2433 * Stop using 'keymap'.
2436 */ 2434 */
2460 2458
2461 p_cpo = save_cpo; 2459 p_cpo = save_cpo;
2462 2460
2463 ga_clear(&curbuf->b_kmap_ga); 2461 ga_clear(&curbuf->b_kmap_ga);
2464 curbuf->b_kmap_state &= ~KEYMAP_LOADED; 2462 curbuf->b_kmap_state &= ~KEYMAP_LOADED;
2465 #ifdef FEAT_WINDOWS
2466 status_redraw_curbuf(); 2463 status_redraw_curbuf();
2467 #endif
2468 } 2464 }
2469 2465
2470 #endif /* FEAT_KEYMAP */ 2466 #endif /* FEAT_KEYMAP */