summaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-12 21:58:43 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-12 21:58:43 +0000
commitc4956c8d1d64d9236e0dd041dec9cf5d08e9df2c (patch)
treec7b205a7711a71039677e3e6a25ba418d810a64e /src/misc2.c
parent2b48ad5cd705167ed9c467f01dceeaf7ff432675 (diff)
downloadvim-git-c4956c8d1d64d9236e0dd041dec9cf5d08e9df2c.tar.gz
updated for version 7.0222
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc2.c b/src/misc2.c
index dddbc5fb0..44b05178b 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -968,7 +968,7 @@ free_all_mem()
do_cmdline_cmd((char_u *)"only!");
#endif
-# if defined(FEAT_SYN_HL)
+# if defined(FEAT_SPELL)
/* Free all spell info. */
spell_free_all();
# endif
@@ -1270,7 +1270,7 @@ vim_strup(p)
}
}
-#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO)
+#if defined(FEAT_EVAL) || defined(FEAT_SPELL) || defined(PROTO)
/*
* Make string "s" all upper-case and return it in allocated memory.
* Handles multi-byte characters as well as possible.
@@ -5758,7 +5758,7 @@ vimpty_getenv(string)
#endif /* !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) */
-#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO)
+#if defined(FEAT_EVAL) || defined(FEAT_SPELL) || defined(PROTO)
/*
* Return 0 for not writable, 1 for writable file, 2 for a dir which we have
* rights to write into.