commit | 9280e3f95d065733f04fa22869e5ef071d531931 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 14 23:03:19 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 14 23:03:19 2016 +0200 |
tree | ee983f345b75b42eabb807e75871cae8f58d92bd | |
parent | 7399895520b3248d5751c8dba8b9a4f27522d2dd [diff] [blame] |
patch 7.4.2038 Problem: Small build still fails. Solution: Adjust more #ifdefs.
diff --git a/src/buffer.c b/src/buffer.c index 65ab22f..99d23ec 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -743,11 +743,12 @@ #ifdef FEAT_JOB_CHANNEL channel_buffer_free(buf); #endif -#ifdef FEAT_AUTOCMD - aubuflocal_remove(buf); buf_hashtab_remove(buf); +#ifdef FEAT_AUTOCMD + aubuflocal_remove(buf); + if (autocmd_busy) { /* Do not free the buffer structure while autocommands are executing,