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

Diff of /emacs/src/fringe.c

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

revision 1.21 by kfstorm, Mon Nov 22 14:26:23 2004 UTC revision 1.22 by kfstorm, Mon Nov 22 23:26:36 2004 UTC
# Line 815  update_window_fringes (w, force_p) Line 815  update_window_fringes (w, force_p)
815    
816    if (!NILP (ind))    if (!NILP (ind))
817      {      {
818        int do_eob = 1, do_bob = 1;        int done_top = 0, done_bot = 0;
819    
820        for (y = 0, rn = 0;        for (y = 0, rn = 0;
821             y < yb && rn < nrows;             y < yb && rn < nrows;
# Line 836  update_window_fringes (w, force_p) Line 836  update_window_fringes (w, force_p)
836            row->indicate_bob_p = row->indicate_top_line_p = 0;            row->indicate_bob_p = row->indicate_top_line_p = 0;
837            row->indicate_eob_p = row->indicate_bottom_line_p = 0;            row->indicate_eob_p = row->indicate_bottom_line_p = 0;
838    
839            if (!NILP (boundary_top)            if (!row->mode_line_p)
840                && MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer)))              {
841              row->indicate_bob_p = do_bob, do_bob = 0;                if (!done_top)
842            else if (!NILP (arrow_top)                  {
843                     && (WINDOW_WANTS_HEADER_LINE_P (w) ? 1 : 0) == rn)                    if (MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer)))
844              row->indicate_top_line_p = 1;                      row->indicate_bob_p = !NILP (boundary_top);
845                      else
846            if (!NILP (boundary_bot)                      row->indicate_top_line_p = !NILP (arrow_top);
847                && MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer)))                    done_top = 1;
848              row->indicate_eob_p = do_eob, do_eob = 0;                  }
849            else if (!NILP (arrow_bot)  
850                     && y + row->height >= yb)                if (!done_bot)
851              row->indicate_bottom_line_p = 1;                  {
852                      if (MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer)))
853                        row->indicate_eob_p = !NILP (boundary_bot), done_bot = 1;
854                      else if (y + row->height >= yb)
855                        row->indicate_bottom_line_p = !NILP (arrow_bot), done_bot = 1;
856                    }
857                }
858    
859            if (indicate_bob_p != row->indicate_bob_p            if (indicate_bob_p != row->indicate_bob_p
860                || indicate_top_line_p != row->indicate_top_line_p                || indicate_top_line_p != row->indicate_top_line_p
# Line 1347  If FACE is nil, reset face to default fr Line 1353  If FACE is nil, reset face to default fr
1353    
1354    if (!NILP (face))    if (!NILP (face))
1355      {      {
1356        face_id = lookup_named_face (SELECTED_FRAME (), face, 'A');        face_id = lookup_named_face (SELECTED_FRAME (), face, 'A', 1);
1357        if (face_id < 0)        if (face_id < 0)
1358          error ("No such face");          error ("No such face");
1359      }      }

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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