Mercurial > vim
comparison src/memline.c @ 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 | caed4b2d305f |
children | f094d4085014 |
comparison
equal
deleted
inserted
replaced
9294:a081c9c021a6 | 9295:0a5adc97fac8 |
---|---|
2540 if (curbuf->b_ml.ml_line_lnum != 0) | 2540 if (curbuf->b_ml.ml_line_lnum != 0) |
2541 ml_flush_line(curbuf); | 2541 ml_flush_line(curbuf); |
2542 return ml_append_int(curbuf, lnum, line, len, newfile, FALSE); | 2542 return ml_append_int(curbuf, lnum, line, len, newfile, FALSE); |
2543 } | 2543 } |
2544 | 2544 |
2545 #if defined(FEAT_SPELL) || defined(PROTO) | 2545 #if defined(FEAT_SPELL) || (defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)) \ |
2546 || defined(PROTO) | |
2546 /* | 2547 /* |
2547 * Like ml_append() but for an arbitrary buffer. The buffer must already have | 2548 * Like ml_append() but for an arbitrary buffer. The buffer must already have |
2548 * a memline. | 2549 * a memline. |
2549 */ | 2550 */ |
2550 int | 2551 int |