# HG changeset patch # User Gerd Moellmann # Date 991236724 0 # Node ID 1302dd937a793ad5df74409b4b76c7270d435467 # Parent 3025939a637d7f9a66382eaf20a42ba33f67ce9e Add that PBM and XBM image specs may have :foreground nil, and :background nil. diff -r 3025939a637d -r 1302dd937a79 lispref/display.texi --- a/lispref/display.texi Wed May 30 15:31:34 2001 +0000 +++ b/lispref/display.texi Wed May 30 15:32:04 2001 +0000 @@ -2615,13 +2615,15 @@ @table @code @item :foreground @var{foreground} The value, @var{foreground}, should be a string specifying the image -foreground color. This color is used for each pixel in the XBM that is -1. The default is the frame's foreground color. +foreground color, or @code{nil} for the default color. This color is +used for each pixel in the XBM that is 1. The default is the frame's +foreground color. @item :background @var{background} The value, @var{background}, should be a string specifying the image -background color. This color is used for each pixel in the XBM that is -0. The default is the frame's background color. +background color, or @code{nil} for the default color. This color is +used for each pixel in the XBM that is 0. The default is the frame's +background color. @end table If you specify an XBM image using data within Emacs instead of an @@ -2758,13 +2760,15 @@ @table @code @item :foreground @var{foreground} The value, @var{foreground}, should be a string specifying the image -foreground color. This color is used for each pixel in the XBM that is -1. The default is the frame's foreground color. +foreground color, or @code{nil} for the default color. This color is +used for each pixel in the XBM that is 1. The default is the frame's +foreground color. @item :background @var{background} The value, @var{background}, should be a string specifying the image -background color. This color is used for each pixel in the XBM that is -0. The default is the frame's background color. +background color, or @code{nil} for the default color. This color is +used for each pixel in the XBM that is 0. The default is the frame's +background color. @end table For JPEG images, specify image type @code{jpeg}.