changeset 37949:1302dd937a79

Add that PBM and XBM image specs may have :foreground nil, and :background nil.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 30 May 2001 15:32:04 +0000
parents 3025939a637d
children f01f454ea6bf
files lispref/display.texi
diffstat 1 files changed, 12 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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}.