help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: checking for light or dark background


From: Eli Zaretskii
Subject: Re: checking for light or dark background
Date: Wed, 02 Feb 2022 14:56:09 +0200

> Date: Wed, 02 Feb 2022 09:26:02 +0000
> From:  goncholden via Users list for the GNU Emacs text editor 
> <help-gnu-emacs@gnu.org>
> 
> I want to determine whether emacs is using a light or dark background. This 
> could be set up by emacs itself
> or by a theme.

Like this:

  (frame-parameter nil 'background-mode)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]