Eli Zaretskii writes: >> * src/msdos.h: >> * src/nsgui.h: >> * src/nsterm.h: >> * src/w32term.h: Remove unused X-compatibility macros and typedefs. > > Please mention the macros and typedefs being removed explicitly, it is > important for later forensics. Okay, I've attached a reworded patch. >> src/image.c | 24 ++---------------------- >> src/msdos.h | 1 - >> src/nsgui.h | 1 - >> src/nsterm.h | 6 ------ >> src/nsterm.m | 16 ++++++++++++++-- >> src/termhooks.h | 8 ++++++++ >> src/w32term.c | 14 ++++++++++++++ >> src/w32term.h | 3 --- >> src/xterm.c | 12 ++++++++++++ >> 9 files changed, 50 insertions(+), 35 deletions(-) > > There's one more instance of FRAME_X_DISPLAY in xdisp.c which was > left, and it will fail compilation on non-X platforms. > > Otherwise, this LGTM, thanks. I only see one such instance, and it's surrounded by: #if false && defined HAVE_X_WINDOWS So it should be good, no?