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

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

Re: Changing foreground colours for texinfo--mode


From: Christopher Dimech
Subject: Re: Changing foreground colours for texinfo--mode
Date: Fri, 2 Oct 2020 20:51:59 +0200

I have done as below but not sure if it is the right way.
Although it works.

(add-hook 'texinfo-mode-hook
  (custom-set-faces
     '(font-lock-variable-name-face ((t (:foreground "green"))))
     '(font-lock-builtin-face ((t (:foreground "green"))))
  )
)






> Sent: Friday, October 02, 2020 at 5:30 PM
> From: "Christopher Dimech" <dimech@gmx.com>
> To: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Changing foreground colours for texinfo--mode
>
> Currently I have the following code. What I want to do is set the last
> two faces in green to be used only in texinfo-mode.
>
> What code should I use for my particular instance?
>
> (custom-set-faces
>    '(font-lock-keyword-face ((t (:foreground "#ffdd00"))))
>    '(font-lock-type-face ((t (:foreground "#ffdd00"))))
>    '(font-lock-variable-name-face ((t (:foreground "green"))))
>    '(font-lock-builtin-face ((t (:foreground "green"))))
> )
>
>
>
>
>



reply via email to

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