From 6702a448c1c2500abb4f393da29edc31acd5e058 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 18 Apr 2025 00:42:52 +0200 Subject: [PATCH] pgtk: Make x-display-grayscale-p return Qt We already unconditionally claim that `xw-display-color-p`, which, according to the docstring of this function, implies that we handle grayscale too. * src/pgtkfns.c (Fx_display_grayscale_p): Return Qt unconditionally. --- src/pgtkfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pgtkfns.c b/src/pgtkfns.c index ae97c1093d3..4f5cbd45492 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c @@ -2291,7 +2291,7 @@ DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p, doc: /* SKIP: real doc in xfns.c. */) (Lisp_Object terminal) { - return Qnil; + return Qt; } DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width, 0, 1, 0,