# HG changeset patch # User Kim F. Storm # Date 1057700818 0 # Node ID 01bf5601e788c98e25fd3fdab392d55e90b0bd6f # Parent 03b18fb153d1d2d34fb439a2482c3b9e9fb55b34 (use_xim) [!USE_XIM]: Default to disable XIM if emacs was configured with --without-xim. diff -r 03b18fb153d1 -r 01bf5601e788 src/xterm.c --- a/src/xterm.c Tue Jul 08 21:46:21 2003 +0000 +++ b/src/xterm.c Tue Jul 08 21:46:58 2003 +0000 @@ -159,7 +159,12 @@ #define abs(x) ((x) < 0 ? -(x) : (x)) /* Default to using XIM if available. */ +#ifdef USE_XIM int use_xim = 1; +#else +int use_xim = 0; /* configure --without-xim */ +#endif + /* Non-nil means Emacs uses toolkit scroll bars. */