Mercurial > vim
changeset 9295:0a5adc97fac8 v7.4.1930
commit https://github.com/vim/vim/commit/bf2c0ee0b2e8465847cf67aff22dd4bda7be81d1
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 13 20:23:53 2016 +0200
patch 7.4.1930
Problem: Can't build without +spell but with +quickfix. (Charles)
Solution: Add better #ifdef around ml_append_buf(). (closes https://github.com/vim/vim/issues/864)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 13 Jun 2016 20:30:08 +0200 |
parents | a081c9c021a6 |
children | 0c11300e87ff |
files | src/memline.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/memline.c +++ b/src/memline.c @@ -2542,7 +2542,8 @@ ml_append( return ml_append_int(curbuf, lnum, line, len, newfile, FALSE); } -#if defined(FEAT_SPELL) || defined(PROTO) +#if defined(FEAT_SPELL) || (defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)) \ + || defined(PROTO) /* * Like ml_append() but for an arbitrary buffer. The buffer must already have * a memline.