mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
This commit is contained in:
@@ -2544,8 +2544,7 @@ ml_append(
|
||||
return ml_append_int(curbuf, lnum, line, len, newfile, FALSE);
|
||||
}
|
||||
|
||||
#if defined(FEAT_SPELL) || (defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)) \
|
||||
|| defined(PROTO)
|
||||
#if defined(FEAT_SPELL) || defined(FEAT_QUICKFIX) || defined(PROTO)
|
||||
/*
|
||||
* Like ml_append() but for an arbitrary buffer. The buffer must already have
|
||||
* a memline.
|
||||
@@ -3112,7 +3111,8 @@ ml_replace(linenr_T lnum, char_u *line, int copy)
|
||||
}
|
||||
|
||||
/*
|
||||
* Delete line 'lnum' in the current buffer.
|
||||
* Delete line "lnum" in the current buffer.
|
||||
* When "message" is TRUE may give a "No lines in buffer" message.
|
||||
*
|
||||
* Check: The caller of this function should probably also call
|
||||
* deleted_lines() after this.
|
||||
|
Reference in New Issue
Block a user