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

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

Creating a custom face for a variable shown in global-mode-string?


From: Marc Coquand
Subject: Creating a custom face for a variable shown in global-mode-string?
Date: Sun, 24 Nov 2024 13:57:51 +0200

I have a indicator I've created which shows if my custom ctrl-lock
should be shown, the state is stored in a variable ctrl-lock-state, I'd
like to turn it red.

I've added the variable to my global-mode-string the following way:

(push '(ctrl-lock-state " [CTRL] " "") global-mode-string)

And it shows up without any issues.

Is there a way to change the color of it, so it is shown in a red and
bold color?

Thanks in advance. 

-- 
Marc



reply via email to

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