/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.671.4.7 by gerd, Tue Oct 23 10:03:05 2001 UTC revision 1.671.4.8 by gerd, Wed Oct 24 08:14:37 2001 UTC
# Line 552  int current_mode_line_height, current_he Line 552  int current_mode_line_height, current_he
552    
553  #if GLYPH_DEBUG  #if GLYPH_DEBUG
554    
555    /* Variables to turn off display optimizations from Lisp.  */
556    
557    int inhibit_try_window_id, inhibit_try_window_reusing;
558    int inhibit_try_cursor_movement;
559    
560  /* Non-zero means print traces of redisplay if compiled with  /* Non-zero means print traces of redisplay if compiled with
561     GLYPH_DEBUG != 0.  */     GLYPH_DEBUG != 0.  */
562    
# Line 9686  try_cursor_movement (window, startp, scr Line 9691  try_cursor_movement (window, startp, scr
9691    struct frame *f = XFRAME (w->frame);    struct frame *f = XFRAME (w->frame);
9692    int rc = CURSOR_MOVEMENT_CANNOT_BE_USED;    int rc = CURSOR_MOVEMENT_CANNOT_BE_USED;
9693        
9694    #ifdef GLYPH_DEBUG
9695      if (inhibit_try_cursor_movement)
9696        return rc;
9697    #endif
9698    
9699    /* Handle case where text has not changed, only point, and it has    /* Handle case where text has not changed, only point, and it has
9700       not moved off the frame.  */       not moved off the frame.  */
9701    if (/* Point may be in this window.  */    if (/* Point may be in this window.  */
# Line 10622  try_window_reusing_current_matrix (w) Line 10632  try_window_reusing_current_matrix (w)
10632    struct glyph_row *start_row;    struct glyph_row *start_row;
10633    int start_vpos, min_y, max_y;    int start_vpos, min_y, max_y;
10634    
10635    #ifdef GLYPH_DEBUG
10636      if (inhibit_try_window_reusing)
10637        return 0;
10638    #endif
10639    
10640    if (/* This function doesn't handle terminal frames.  */    if (/* This function doesn't handle terminal frames.  */
10641        !FRAME_WINDOW_P (f)        !FRAME_WINDOW_P (f)
10642        /* Don't try to reuse the display if windows have been split        /* Don't try to reuse the display if windows have been split
# Line 11288  try_window_id (w) Line 11303  try_window_id (w)
11303    struct text_pos start;    struct text_pos start;
11304    int first_changed_charpos, last_changed_charpos;    int first_changed_charpos, last_changed_charpos;
11305    
11306    #ifdef GLYPH_DEBUG
11307      if (inhibit_try_window_id)
11308        return 0;
11309    #endif
11310    
11311    /* This is handy for debugging.  */    /* This is handy for debugging.  */
11312  #if 0  #if 0
11313  #define GIVE_UP(X)                                              \  #define GIVE_UP(X)                                              \
# Line 14940  Can be used to update submenus whose con Line 14960  Can be used to update submenus whose con
14960    DEFVAR_BOOL ("inhibit-eval-during-redisplay", &inhibit_eval_during_redisplay,    DEFVAR_BOOL ("inhibit-eval-during-redisplay", &inhibit_eval_during_redisplay,
14961      "Non-nil means don't eval Lisp during redisplay.");      "Non-nil means don't eval Lisp during redisplay.");
14962    inhibit_eval_during_redisplay = 0;    inhibit_eval_during_redisplay = 0;
14963    
14964    #ifdef GLYPH_DEBUG
14965      DEFVAR_BOOL ("inhibit-try-window-id", &inhibit_try_window_id,
14966                   "Inhibit try_window_id display optimization.");
14967      inhibit_try_window_id = 0;
14968    
14969      DEFVAR_BOOL ("inhibit-try-window-reusing", &inhibit_try_window_reusing,
14970                   "Inhibit try_window_reusing display optimization.");
14971      inhibit_try_window_reusing = 0;
14972    
14973      DEFVAR_BOOL ("inhibit-try-cursor-movement", &inhibit_try_cursor_movement,
14974                   "Inhibit try_cursor_movement display optimization.");
14975      inhibit_try_cursor_movement = 0;
14976    #endif /* GLYPH_DEBUG */
14977  }  }
14978    
14979    

Legend:
Removed from v.1.671.4.7  
changed lines
  Added in v.1.671.4.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26