[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xterm.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/xterm.c |
Date: |
Tue, 29 Jul 2003 13:38:22 -0400 |
Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.802 emacs/src/xterm.c:1.803
*** emacs/src/xterm.c:1.802 Thu Jul 17 06:15:04 2003
--- emacs/src/xterm.c Tue Jul 29 13:38:21 2003
***************
*** 8024,8029 ****
--- 8024,8030 ----
{
XIM xim;
+ #ifdef HAVE_XIM
if (use_xim)
{
xim = XOpenIM (dpyinfo->display, dpyinfo->xrdb, resource_name,
***************
*** 8048,8053 ****
--- 8049,8055 ----
}
else
+ #endif /* HAVE_XIM */
dpyinfo->xim = NULL;
}
***************
*** 8122,8127 ****
--- 8124,8130 ----
struct x_display_info *dpyinfo;
char *resource_name;
{
+ #ifdef HAVE_XIM
if (use_xim)
{
#ifdef HAVE_X11R6_XIM
***************
*** 8148,8153 ****
--- 8151,8157 ----
}
else
+ #endif /* HAVE_XIM */
dpyinfo->xim = NULL;
}
***************
*** 8158,8163 ****
--- 8162,8168 ----
xim_close_dpy (dpyinfo)
struct x_display_info *dpyinfo;
{
+ #ifdef HAVE_XIM
if (use_xim)
{
#ifdef HAVE_X11R6_XIM
***************
*** 8171,8176 ****
--- 8176,8182 ----
dpyinfo->xim = NULL;
XFree (dpyinfo->xim_styles);
}
+ #endif /* HAVE_XIM */
}
#endif /* not HAVE_X11R6_XIM */