mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Remove Xim
This commit is contained in:
parent
d568548aa1
commit
acf5757831
30
src/mbyte.c
30
src/mbyte.c
@ -141,36 +141,6 @@ static char utf8len_tab_zero[256] =
|
||||
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,0,0,
|
||||
};
|
||||
|
||||
/*
|
||||
* 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.
|
||||
|
@ -200,7 +200,6 @@ static char *(features[]) = {
|
||||
"-X11",
|
||||
#endif // if defined(UNIX) || defined(VMS)
|
||||
"-xfontset",
|
||||
"-xim",
|
||||
#if defined(UNIX) || defined(VMS)
|
||||
"-xsmp",
|
||||
"-xterm_clipboard",
|
||||
|
Loading…
Reference in New Issue
Block a user