Mercurial > vim
diff src/buffer.c @ 9515:bb538c090668 v7.4.2038
commit https://github.com/vim/vim/commit/9280e3f95d065733f04fa22869e5ef071d531931
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 14 23:03:19 2016 +0200
patch 7.4.2038
Problem: Small build still fails.
Solution: Adjust more #ifdefs.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 14 Jul 2016 23:15:05 +0200 |
parents | c2e904cc064f |
children | 123d3c102035 |
line wrap: on
line diff
--- a/src/buffer.c +++ b/src/buffer.c @@ -743,11 +743,12 @@ free_buffer(buf_T *buf) #ifdef FEAT_JOB_CHANNEL channel_buffer_free(buf); #endif + + buf_hashtab_remove(buf); + #ifdef FEAT_AUTOCMD aubuflocal_remove(buf); - buf_hashtab_remove(buf); - if (autocmd_busy) { /* Do not free the buffer structure while autocommands are executing,