summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-01 14:28:24 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-01 14:28:24 +0200
commitb66bab381c8ba71fd6e92327d1d34c6f8a65f2a7 (patch)
tree0ce017c26ce910c3c0cf9aa02ddfb904fc319042 /src/buffer.c
parent3f9bdeb2a521a408c04fd9584a752845b3accbbd (diff)
patch 8.1.1785: map functionality mixed with character inputv8.1.1785
Problem: Map functionality mixed with character input. Solution: Move the map functionality to a separate file. (Yegappan Lakshmanan, closes #4740) Graduate the +localmap feature.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 4e60751eb4..3251e37d6a 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -951,10 +951,8 @@ free_buffer_stuff(
#ifdef FEAT_NETBEANS_INTG
netbeans_file_killed(buf);
#endif
-#ifdef FEAT_LOCALMAP
map_clear_int(buf, MAP_ALL_MODES, TRUE, FALSE); /* clear local mappings */
map_clear_int(buf, MAP_ALL_MODES, TRUE, TRUE); /* clear local abbrevs */
-#endif
VIM_CLEAR(buf->b_start_fenc);
}