summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 19dcb593d..4003b9c98 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -588,6 +588,9 @@ free_buffer(buf)
#ifdef FEAT_RUBY
ruby_buffer_free(buf);
#endif
+#ifdef FEAT_AUTOCMD
+ aubuflocal_remove(buf);
+#endif
vim_free(buf);
}