summaryrefslogtreecommitdiffstats
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-04 18:08:14 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-04 18:08:14 +0100
commitf2bd8ef2b4507d02c6043affff8f7e85e3414d5f (patch)
treef14cb8e7ff09975920f3a813d7de4851a2972661 /src/feature.h
parent3f54fd319f6641b4bed478bcc90cdb39ede68e31 (diff)
patch 8.0.1564: too many #ifdefsv8.0.1564
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/feature.h b/src/feature.h
index 2d57d6704d..6d35265c28 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -440,17 +440,10 @@
#endif
/*
- * +autocmd ":autocmd" command
- */
-#ifdef FEAT_NORMAL
-# define FEAT_AUTOCMD
-#endif
-
-/*
* +diff Displaying diffs in a nice way.
* Requires +windows and +autocmd.
*/
-#if defined(FEAT_NORMAL) && defined(FEAT_AUTOCMD)
+#if defined(FEAT_NORMAL)
# define FEAT_DIFF
#endif