# HG changeset patch # User Juanma Barranquero # Date 1078166808 0 # Node ID 50ba59282051a2e723e36a1c9cc9e6843ad2a233 # Parent e7d4fe5d5a35bbf3a00c8c8eb576a5c215a0c32a (Fdefine_fringe_bitmap): Fix typo in docstring. diff -r e7d4fe5d5a35 -r 50ba59282051 src/fringe.c --- a/src/fringe.c Mon Mar 01 18:41:41 2004 +0000 +++ b/src/fringe.c Mon Mar 01 18:46:48 2004 +0000 @@ -737,7 +737,7 @@ { unsigned indicate_bob_p, indicate_top_line_p; unsigned indicate_eob_p, indicate_bottom_line_p; - + row = w->desired_matrix->rows + rn; if (!row->enabled_p) row = w->current_matrix->rows + rn; @@ -746,7 +746,7 @@ indicate_top_line_p = row->indicate_top_line_p; indicate_eob_p = row->indicate_eob_p; indicate_bottom_line_p = row->indicate_bottom_line_p; - + row->indicate_bob_p = row->indicate_top_line_p = 0; row->indicate_eob_p = row->indicate_bottom_line_p = 0; @@ -881,7 +881,7 @@ } -/* Compute actual fringe widths for frame F. +/* Compute actual fringe widths for frame F. If REDRAW is 1, redraw F if the fringe settings was actually modified and F is visible. @@ -1096,7 +1096,7 @@ BITS is either a string or a vector of integers. HEIGHT is height of bitmap. If HEIGHT is nil, use length of BITS. WIDTH must be an integer between 1 and 16, or nil which defaults to 8. -Optional forth arg ALIGN may be one of `top', `center', or `bottom', +Optional fourth arg ALIGN may be one of `top', `center', or `bottom', indicating the positioning of the bitmap relative to the rows where it is used; the default is to center the bitmap. Fourth arg may also be a list (ALIGN PERIODIC) where PERIODIC non-nil specifies that the bitmap @@ -1130,7 +1130,7 @@ fill2 = fb.height - h - fill1; } } - + if (NILP (width)) fb.width = 8; else @@ -1217,7 +1217,7 @@ DEFUN ("set-fringe-bitmap-face", Fset_fringe_bitmap_face, Sset_fringe_bitmap_face, 1, 2, 0, - doc: /* Set face for fringe bitmap FRINGE-ID to FACE. + doc: /* Set face for fringe bitmap FRINGE-ID to FACE. If FACE is nil, reset face to default fringe face. */) (fringe_id, face) Lisp_Object fringe_id, face; @@ -1244,7 +1244,7 @@ DEFUN ("fringe-bitmaps-at-pos", Ffringe_bitmaps_at_pos, Sfringe_bitmaps_at_pos, 0, 2, 0, - doc: /* Return fringe bitmaps of row containing position POS in window WINDOW. + doc: /* Return fringe bitmaps of row containing position POS in window WINDOW. If WINDOW is nil, use selected window. If POS is nil, use value of point in that window. Return value is a cons (LEFT . RIGHT) where LEFT and RIGHT are the fringe bitmap numbers for the bitmaps in the left and right fringe, @@ -1346,7 +1346,7 @@ { /* Destroy row bitmaps. */ int bt; - + for (bt = NO_FRINGE_BITMAP + 1; bt < max_used_fringe_bitmap; bt++) rif->destroy_fringe_bitmap (bt); }