0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 7.4.948

Problem:    Can't build when the insert_expand feature is disabled.
Solution:   Add #ifdefs. (Dan Pasanen, closes #499)
This commit is contained in:
Bram Moolenaar
2015-12-03 13:52:52 +01:00
parent 5311c02f25
commit 20ad69ccfb
3 changed files with 6 additions and 0 deletions

View File

@@ -8748,7 +8748,9 @@ call_func(funcname, len, rettv, argcount, argvars, firstline, lastline,
* redo buffer. * redo buffer.
*/ */
save_search_patterns(); save_search_patterns();
#ifdef FEAT_INS_EXPAND
if (!ins_compl_active()) if (!ins_compl_active())
#endif
{ {
saveRedobuff(); saveRedobuff();
did_save_redo = TRUE; did_save_redo = TRUE;

View File

@@ -9450,7 +9450,9 @@ apply_autocmds_group(event, fname, fname_io, force, group, buf, eap)
if (!autocmd_busy) if (!autocmd_busy)
{ {
save_search_patterns(); save_search_patterns();
#ifdef FEAT_INS_EXPAND
if (!ins_compl_active()) if (!ins_compl_active())
#endif
{ {
saveRedobuff(); saveRedobuff();
did_save_redobuff = TRUE; did_save_redobuff = TRUE;

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
948,
/**/ /**/
947, 947,
/**/ /**/