From: Gerd Moellmann Date: Wed, 30 May 2001 15:32:04 +0000 (+0000) Subject: Add that PBM and XBM image specs may have :foreground nil, and X-Git-Tag: emacs-pretest-21.0.104~346 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d88b7d028166dc5c898614ef06bebfd68cc7c16;p=emacs.git Add that PBM and XBM image specs may have :foreground nil, and :background nil. --- diff --git a/lispref/display.texi b/lispref/display.texi index 662e32b1fb2..fd73cfc5f6f 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -2615,13 +2615,15 @@ always supported. @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 @@ image properties are supported. @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}.