summaryrefslogtreecommitdiff
path: root/src/os_amiga.c
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/os_amiga.c
parent3f54fd319f6641b4bed478bcc90cdb39ede68e31 (diff)
downloadvim-git-f2bd8ef2b4507d02c6043affff8f7e85e3414d5f.tar.gz
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/os_amiga.c')
-rw-r--r--src/os_amiga.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c
index a0fb5c084..39fb222fd 100644
--- a/src/os_amiga.c
+++ b/src/os_amiga.c
@@ -152,7 +152,6 @@ mch_inchar(
*/
if (WaitForChar(raw_in, p_ut * 1000L) == 0)
{
-#ifdef FEAT_AUTOCMD
if (trigger_cursorhold() && maxlen >= 3)
{
buf[0] = K_SPECIAL;
@@ -160,7 +159,6 @@ mch_inchar(
buf[2] = (int)KE_CURSORHOLD;
return 3;
}
-#endif
before_blocking();
}
}