diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-12-31 19:07:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-12-31 19:07:19 +0100 |
commit | e7fedb6ebe72d9a475aa65109b77d5ed4667067a (patch) | |
tree | 19327fc9d1ca538d9c5c81c7284adf492e790e6d /src/getchar.c | |
parent | e3303cb0817e826e3c25d5dc4ac10b569d0841e1 (diff) | |
download | vim-git-e7fedb6ebe72d9a475aa65109b77d5ed4667067a.tar.gz |
patch 7.4.1008v7.4.1008
Problem: The OS/2 code pollutes the source while nobody uses it these days.
Solution: Drop the support for OS/2.
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/getchar.c b/src/getchar.c index f4ec991b0..70829e18e 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -962,8 +962,8 @@ init_typebuf() } /* - * insert a string in position 'offset' in the typeahead buffer (for "@r" - * and ":normal" command, vgetorpeek() and check_termcode()) + * Insert a string in position 'offset' in the typeahead buffer (for "@r" + * and ":normal" command, vgetorpeek() and check_termcode()). * * If noremap is REMAP_YES, new string can be mapped again. * If noremap is REMAP_NONE, new string cannot be mapped again. @@ -5295,7 +5295,7 @@ check_map(keys, mode, exact, ign_mod, abbr, mp_ptr, local_ptr) } #endif -#if defined(MSDOS) || defined(MSWIN) || defined(OS2) || defined(MACOS) +#if defined(MSDOS) || defined(MSWIN) || defined(MACOS) #define VIS_SEL (VISUAL+SELECTMODE) /* abbreviation */ @@ -5308,7 +5308,7 @@ static struct initmap int mode; } initmappings[] = { -#if defined(MSDOS) || defined(MSWIN) || defined(OS2) +#if defined(MSDOS) || defined(MSWIN) /* Use the Windows (CUA) keybindings. */ # ifdef FEAT_GUI /* paste, copy and cut */ @@ -5379,7 +5379,7 @@ static struct initmap void init_mappings() { -#if defined(MSDOS) || defined(MSWIN) || defined(OS2) || defined(MACOS) +#if defined(MSDOS) || defined(MSWIN) ||defined(MACOS) int i; for (i = 0; i < sizeof(initmappings) / sizeof(struct initmap); ++i) @@ -5387,7 +5387,7 @@ init_mappings() #endif } -#if defined(MSDOS) || defined(MSWIN) || defined(OS2) \ +#if defined(MSDOS) || defined(MSWIN) \ || defined(FEAT_CMDWIN) || defined(MACOS) || defined(PROTO) /* * Add a mapping "map" for mode "mode". |