mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.0002: map functionality outside of map.c
Problem: Map functionality outside of map.c. Solution: Move f_hasmapto() to map.c. Rename a function. (closes #10611)
This commit is contained in:
@@ -1004,8 +1004,8 @@ free_buffer_stuff(
|
||||
#ifdef FEAT_NETBEANS_INTG
|
||||
netbeans_file_killed(buf);
|
||||
#endif
|
||||
map_clear_int(buf, MAP_ALL_MODES, TRUE, FALSE); // clear local mappings
|
||||
map_clear_int(buf, MAP_ALL_MODES, TRUE, TRUE); // clear local abbrevs
|
||||
map_clear_mode(buf, MAP_ALL_MODES, TRUE, FALSE); // clear local mappings
|
||||
map_clear_mode(buf, MAP_ALL_MODES, TRUE, TRUE); // clear local abbrevs
|
||||
VIM_CLEAR(buf->b_start_fenc);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user