* Add multiple colours for use as overlay
@ 2024-03-31 22:52 Heime
0 siblings, 0 replies; only message in thread
From: Heime @ 2024-03-31 22:52 UTC (permalink / raw)
To: Heime via Users list for the GNU Emacs text editor
I have a face to use as a colour overlay when matching a pattern.
(defface thym-face '((t :foreground "#4fafff"))
(defun thym-put-overlay-properties ()
(put 'thym 'face thym-face))
(defun thym-set-custom (symbol value)
(set-default symbol value)
(thym-put-overlay-properties))
How can I include multiple colour faces and have the ability to
switch between them via a user command ?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-31 22:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-31 22:52 Add multiple colours for use as overlay Heime
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).