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

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

Re: Writing coloured text


From: Bruno Barbier
Subject: Re: Writing coloured text
Date: Wed, 16 Nov 2022 10:37:00 +0100

Heime <heimeborgia@protonmail.com> writes:

> Am having problem writing coloured text with the following function.
>
>
> (defun cmesg (mesg colr bufr)
>   "TODO."
>
>   (let ( (bfr (get-buffer-create bufr))
>          (pms (propertize mesg
>                           'face '(:foreground colr))) )

'(:foreground colr)

=>

`(:foreground ,colr)




reply via email to

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