aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Innes2000-08-22 23:53:39 +0000
committerAndrew Innes2000-08-22 23:53:39 +0000
commit546a4f000db850ef31bbc31f804568e9802d3aa8 (patch)
treeaf0661e1d5f5e9e0d5c0cde45eaad58211bd1745 /src
parent3e4731a35aecef3d0002b3bcc2d89c87d26646fa (diff)
downloademacs-546a4f000db850ef31bbc31f804568e9802d3aa8.tar.gz
emacs-546a4f000db850ef31bbc31f804568e9802d3aa8.zip
Include keyboard.h before frame.h.
Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c15
1 files changed, 5 insertions, 10 deletions
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. */
170#include <config.h> 170#include <config.h>
171#include <stdio.h> 171#include <stdio.h>
172#include "lisp.h" 172#include "lisp.h"
173#include "keyboard.h"
173#include "frame.h" 174#include "frame.h"
174#include "window.h" 175#include "window.h"
175#include "termchar.h" 176#include "termchar.h"
@@ -182,7 +183,6 @@ Boston, MA 02111-1307, USA. */
182#include "disptab.h" 183#include "disptab.h"
183#include "termhooks.h" 184#include "termhooks.h"
184#include "intervals.h" 185#include "intervals.h"
185#include "keyboard.h"
186#include "coding.h" 186#include "coding.h"
187#include "process.h" 187#include "process.h"
188#include "region-cache.h" 188#include "region-cache.h"
@@ -523,22 +523,17 @@ static int last_max_ascent, last_height;
523 523
524int trace_redisplay_p; 524int trace_redisplay_p;
525 525
526/* Non-zero means trace with TRACE_MOVE to stderr. */ 526#endif /* GLYPH_DEBUG */
527 527
528#ifdef DEBUG_TRACE_MOVE
529/* Non-zero means trace with TRACE_MOVE to stderr. */
528int trace_move; 530int trace_move;
529 531
530#ifdef DEBUG_TRACE_MOVE
531#define TRACE_MOVE(x) if (trace_move) fprintf x; else (void) 0 532#define TRACE_MOVE(x) if (trace_move) fprintf x; else (void) 0
532#else 533#else
533#define TRACE_MOVE(x) (void) 0 534#define TRACE_MOVE(x) (void) 0
534#endif 535#endif
535 536
536#else /* not GLYPH_DEBUG */
537
538#define TRACE_MOVE(x) (void) 0
539
540#endif /* not GLYPH_DEBUG */
541
542/* Non-zero means automatically scroll windows horizontally to make 537/* Non-zero means automatically scroll windows horizontally to make
543 point visible. */ 538 point visible. */
544 539