commit | 20ad69ccfb60ef718bd26387ef0e5424461a643e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 03 13:52:52 2015 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 03 13:52:52 2015 +0100 |
tree | bcb4f909cca8591ae40080c24a2c048e46957352 | |
parent | 5311c02f25eed8f34e8a80becb98e86264f371c3 [diff] [blame] |
patch 7.4.948 Problem: Can't build when the insert_expand feature is disabled. Solution: Add #ifdefs. (Dan Pasanen, closes #499)
diff --git a/src/eval.c b/src/eval.c index a2a9986..7ec7364 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -8748,7 +8748,9 @@ * redo buffer. */ save_search_patterns(); +#ifdef FEAT_INS_EXPAND if (!ins_compl_active()) +#endif { saveRedobuff(); did_save_redo = TRUE;