diff options
| author | Stefan Kangas | 2025-04-18 00:42:52 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2025-04-18 00:44:18 +0200 |
| commit | 6702a448c1c2500abb4f393da29edc31acd5e058 (patch) | |
| tree | abb4547666cdbee28d4c159d28c34e325c20e4a7 /src | |
| parent | b05da1c3fc611417ace0af3860a93fb878f72f4d (diff) | |
| download | emacs-6702a448c1c2500abb4f393da29edc31acd5e058.tar.gz emacs-6702a448c1c2500abb4f393da29edc31acd5e058.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/pgtkfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
| 2291 | doc: /* SKIP: real doc in xfns.c. */) | 2291 | doc: /* SKIP: real doc in xfns.c. */) |
| 2292 | (Lisp_Object terminal) | 2292 | (Lisp_Object terminal) |
| 2293 | { | 2293 | { |
| 2294 | return Qnil; | 2294 | return Qt; |
| 2295 | } | 2295 | } |
| 2296 | 2296 | ||
| 2297 | DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width, 0, 1, 0, | 2297 | DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width, 0, 1, 0, |