[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master cd0e7d5: ; * src/image.c (xpm_format, xpm_valid_color_symbols_p):
From: |
Eli Zaretskii |
Subject: |
master cd0e7d5: ; * src/image.c (xpm_format, xpm_valid_color_symbols_p): Fix last change. |
Date: |
Thu, 13 May 2021 05:33:31 -0400 (EDT) |
branch: master
commit cd0e7d51ab85f92f6568e711461984919500c34f
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * src/image.c (xpm_format, xpm_valid_color_symbols_p): Fix last change.
---
src/image.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/image.c b/src/image.c
index d514f97..b34dc3e 100644
--- a/src/image.c
+++ b/src/image.c
@@ -4061,6 +4061,7 @@ enum xpm_keyword_index
XPM_LAST
};
+#if defined HAVE_XPM || defined HAVE_NS
/* Vector of image_keyword structures describing the format
of valid XPM image specifications. */
@@ -4078,6 +4079,7 @@ static const struct image_keyword xpm_format[XPM_LAST] =
{":color-symbols", IMAGE_DONT_CHECK_VALUE_TYPE, 0},
{":background", IMAGE_STRING_OR_NIL_VALUE, 0}
};
+#endif /* HAVE_XPM || HAVE_NS */
#if defined HAVE_X_WINDOWS && !defined USE_CAIRO
@@ -4301,6 +4303,7 @@ init_xpm_functions (void)
#endif /* WINDOWSNT */
+#if defined HAVE_XPM || defined HAVE_NS
/* Value is true if COLOR_SYMBOLS is a valid color symbols list
for XPM images. Such a list must consist of conses whose car and
cdr are strings. */
@@ -4321,8 +4324,6 @@ xpm_valid_color_symbols_p (Lisp_Object color_symbols)
return NILP (color_symbols);
}
-
-#if defined HAVE_XPM || defined HAVE_NS
/* Value is true if OBJECT is a valid XPM image specification. */
static bool
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master cd0e7d5: ; * src/image.c (xpm_format, xpm_valid_color_symbols_p): Fix last change.,
Eli Zaretskii <=