/[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.1046 by rms, Sun Sep 4 01:28:41 2005 UTC revision 1.1047 by kfstorm, Wed Sep 7 08:46:04 2005 UTC
# Line 12830  try_window (window, pos, check_margins) Line 12830  try_window (window, pos, check_margins)
12830    if (check_margins    if (check_margins
12831        && !MINI_WINDOW_P (w))        && !MINI_WINDOW_P (w))
12832      {      {
12833        int this_scroll_margin, cursor_height;        int this_scroll_margin;
12834    
12835        this_scroll_margin = max (0, scroll_margin);        this_scroll_margin = max (0, scroll_margin);
12836        this_scroll_margin = min (this_scroll_margin, WINDOW_TOTAL_LINES (w) / 4);        this_scroll_margin = min (this_scroll_margin, WINDOW_TOTAL_LINES (w) / 4);
12837        this_scroll_margin *= FRAME_LINE_HEIGHT (it.f);        this_scroll_margin *= FRAME_LINE_HEIGHT (it.f);
       cursor_height = MATRIX_ROW (w->desired_matrix, w->cursor.vpos)->height;  
12838    
12839        if ((w->cursor.y < this_scroll_margin        if ((w->cursor.y < this_scroll_margin
12840             && CHARPOS (pos) > BEGV)             && CHARPOS (pos) > BEGV)

Legend:
Removed from v.1.1046  
changed lines
  Added in v.1.1047

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