]> git.eshelyaron.com Git - emacs.git/commitdiff
(compute_fringe_widths): Doc fix.
authorKim F. Storm <storm@cua.dk>
Sat, 11 Oct 2003 22:32:17 +0000 (22:32 +0000)
committerKim F. Storm <storm@cua.dk>
Sat, 11 Oct 2003 22:32:17 +0000 (22:32 +0000)
src/xdisp.c

index 629d210daa8a758e1519ca4762f3a1a10a1e0017..e85589d56d1403af5c3d1a280292203029ebcf64 100644 (file)
@@ -9053,7 +9053,22 @@ draw_row_fringe_bitmaps (w, row)
 }
 
 
-/* Compute actual fringe widths */
+/* Compute actual fringe widths for frame F.  
+
+   If REDRAW is 1, redraw F if the fringe settings was actually
+   modified and F is visible.
+
+   Since the combined left and right fringe must occupy an integral
+   number of columns, we may need to add some pixels to each fringe.
+   Typically, we add an equal amount (+/- 1 pixel) to each fringe,
+   but a negative width value is taken literally (after negating it).
+
+   We never make the fringes narrower than specified.  It is planned
+   to make fringe bitmaps customizable and expandable, and at that
+   time, the user will typically specify the minimum number of pixels
+   needed for his bitmaps, so we shouldn't select anything less than
+   what is specified.
+*/
 
 void
 compute_fringe_widths (f, redraw)