diff options
author | John Schmidt <john.schmidt.h@gmail.com> | 2014-03-17 19:07:06 +0100 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-05 10:01:22 -0300 |
commit | acf5757831d2e6bfa325c1fe508e636d9030c6d5 (patch) | |
tree | 0df55033a551a7e66d4eaeda5966af5574079346 /src | |
parent | d568548aa173e5b8152ea4ce81063a611fba5fbb (diff) | |
download | rneovim-acf5757831d2e6bfa325c1fe508e636d9030c6d5.tar.gz rneovim-acf5757831d2e6bfa325c1fe508e636d9030c6d5.tar.bz2 rneovim-acf5757831d2e6bfa325c1fe508e636d9030c6d5.zip |
Remove Xim
Diffstat (limited to 'src')
-rw-r--r-- | src/mbyte.c | 30 | ||||
-rw-r--r-- | src/version.c | 1 |
2 files changed, 0 insertions, 31 deletions
diff --git a/src/mbyte.c b/src/mbyte.c index 1af906fd2c..32bf7db413 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -142,36 +142,6 @@ static char utf8len_tab_zero[256] = }; /* - * XIM often causes trouble. Define XIM_DEBUG to get a log of XIM callbacks - * in the "xim.log" file. - */ -/* #define XIM_DEBUG */ -#ifdef XIM_DEBUG -static void xim_log(char *s, ...) -{ - va_list arglist; - static FILE *fd = NULL; - - if (fd == (FILE *)-1) - return; - if (fd == NULL) { - fd = mch_fopen("xim.log", "w"); - if (fd == NULL) { - EMSG("Cannot open xim.log"); - fd = (FILE *)-1; - return; - } - } - - va_start(arglist, s); - vfprintf(fd, s, arglist); - va_end(arglist); -} - -#endif - - -/* * Canonical encoding names and their properties. * "iso-8859-n" is handled by enc_canonize() directly. */ diff --git a/src/version.c b/src/version.c index 33eb34d28c..052dfd5e4c 100644 --- a/src/version.c +++ b/src/version.c @@ -200,7 +200,6 @@ static char *(features[]) = { "-X11", #endif // if defined(UNIX) || defined(VMS) "-xfontset", - "-xim", #if defined(UNIX) || defined(VMS) "-xsmp", "-xterm_clipboard", |