/[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.690 by pj, Wed Oct 24 07:03:23 2001 UTC revision 1.691 by gerd, Wed Oct 24 08:15:55 2001 UTC
# Line 550  int current_mode_line_height, current_he Line 550  int current_mode_line_height, current_he
550    
551  #if GLYPH_DEBUG  #if GLYPH_DEBUG
552    
553    /* Variables to turn off display optimizations from Lisp.  */
554    
555    int inhibit_try_window_id, inhibit_try_window_reusing;
556    int inhibit_try_cursor_movement;
557    
558  /* Non-zero means print traces of redisplay if compiled with  /* Non-zero means print traces of redisplay if compiled with
559     GLYPH_DEBUG != 0.  */     GLYPH_DEBUG != 0.  */
560    
# Line 9678  try_cursor_movement (window, startp, scr Line 9683  try_cursor_movement (window, startp, scr
9683    struct frame *f = XFRAME (w->frame);    struct frame *f = XFRAME (w->frame);
9684    int rc = CURSOR_MOVEMENT_CANNOT_BE_USED;    int rc = CURSOR_MOVEMENT_CANNOT_BE_USED;
9685        
9686    #ifdef GLYPH_DEBUG
9687      if (inhibit_try_cursor_movement)
9688        return rc;
9689    #endif
9690    
9691    /* Handle case where text has not changed, only point, and it has    /* Handle case where text has not changed, only point, and it has
9692       not moved off the frame.  */       not moved off the frame.  */
9693    if (/* Point may be in this window.  */    if (/* Point may be in this window.  */
# Line 10614  try_window_reusing_current_matrix (w) Line 10624  try_window_reusing_current_matrix (w)
10624    struct glyph_row *start_row;    struct glyph_row *start_row;
10625    int start_vpos, min_y, max_y;    int start_vpos, min_y, max_y;
10626    
10627    #ifdef GLYPH_DEBUG
10628      if (inhibit_try_window_reusing)
10629        return 0;
10630    #endif
10631    
10632    if (/* This function doesn't handle terminal frames.  */    if (/* This function doesn't handle terminal frames.  */
10633        !FRAME_WINDOW_P (f)        !FRAME_WINDOW_P (f)
10634        /* 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 11280  try_window_id (w) Line 11295  try_window_id (w)
11295    struct text_pos start;    struct text_pos start;
11296    int first_changed_charpos, last_changed_charpos;    int first_changed_charpos, last_changed_charpos;
11297    
11298    #ifdef GLYPH_DEBUG
11299      if (inhibit_try_window_id)
11300        return 0;
11301    #endif
11302    
11303    /* This is handy for debugging.  */    /* This is handy for debugging.  */
11304  #if 0  #if 0
11305  #define GIVE_UP(X)                                              \  #define GIVE_UP(X)                                              \
# Line 14876  Can be used to update submenus whose con Line 14896  Can be used to update submenus whose con
14896    DEFVAR_BOOL ("inhibit-eval-during-redisplay", &inhibit_eval_during_redisplay,    DEFVAR_BOOL ("inhibit-eval-during-redisplay", &inhibit_eval_during_redisplay,
14897      doc: /* Non-nil means don't eval Lisp during redisplay.  */);      doc: /* Non-nil means don't eval Lisp during redisplay.  */);
14898    inhibit_eval_during_redisplay = 0;    inhibit_eval_during_redisplay = 0;
14899    
14900    #ifdef GLYPH_DEBUG
14901      DEFVAR_BOOL ("inhibit-try-window-id", &inhibit_try_window_id,
14902                   doc: /* Inhibit try_window_id display optimization.  */);
14903      inhibit_try_window_id = 0;
14904    
14905      DEFVAR_BOOL ("inhibit-try-window-reusing", &inhibit_try_window_reusing,
14906                   doc: /* Inhibit try_window_reusing display optimization.  */);
14907      inhibit_try_window_reusing = 0;
14908    
14909      DEFVAR_BOOL ("inhibit-try-cursor-movement", &inhibit_try_cursor_movement,
14910                   doc: /* Inhibit try_cursor_movement display optimization.  */);
14911      inhibit_try_cursor_movement = 0;
14912    #endif /* GLYPH_DEBUG */
14913  }  }
14914    
14915    

Legend:
Removed from v.1.690  
changed lines
  Added in v.1.691

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