From: Andrew Innes Date: Tue, 22 Aug 2000 23:53:39 +0000 (+0000) Subject: Include keyboard.h before frame.h. X-Git-Tag: emacs-pretest-21.0.90~2022 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=546a4f000db850ef31bbc31f804568e9802d3aa8;p=emacs.git Include keyboard.h before frame.h. Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE. --- diff --git a/src/xdisp.c b/src/xdisp.c index c7d8f2db748..c50131134a2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -170,6 +170,7 @@ Boston, MA 02111-1307, USA. */ #include #include #include "lisp.h" +#include "keyboard.h" #include "frame.h" #include "window.h" #include "termchar.h" @@ -182,7 +183,6 @@ Boston, MA 02111-1307, USA. */ #include "disptab.h" #include "termhooks.h" #include "intervals.h" -#include "keyboard.h" #include "coding.h" #include "process.h" #include "region-cache.h" @@ -523,22 +523,17 @@ static int last_max_ascent, last_height; int trace_redisplay_p; -/* Non-zero means trace with TRACE_MOVE to stderr. */ +#endif /* GLYPH_DEBUG */ +#ifdef DEBUG_TRACE_MOVE +/* Non-zero means trace with TRACE_MOVE to stderr. */ int trace_move; -#ifdef DEBUG_TRACE_MOVE #define TRACE_MOVE(x) if (trace_move) fprintf x; else (void) 0 #else #define TRACE_MOVE(x) (void) 0 #endif - -#else /* not GLYPH_DEBUG */ - -#define TRACE_MOVE(x) (void) 0 - -#endif /* not GLYPH_DEBUG */ - + /* Non-zero means automatically scroll windows horizontally to make point visible. */