* Changing foreground colours for texinfo--mode
@ 2020-10-02 16:30 Christopher Dimech
2020-10-02 18:51 ` Christopher Dimech
0 siblings, 1 reply; 2+ messages in thread
From: Christopher Dimech @ 2020-10-02 16:30 UTC (permalink / raw)
To: Help Gnu Emacs
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"))))
)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Changing foreground colours for texinfo--mode
2020-10-02 16:30 Changing foreground colours for texinfo--mode Christopher Dimech
@ 2020-10-02 18:51 ` Christopher Dimech
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Dimech @ 2020-10-02 18:51 UTC (permalink / raw)
To: Christopher Dimech; +Cc: Help Gnu Emacs
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"))))
> )
>
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-02 18:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-02 16:30 Changing foreground colours for texinfo--mode Christopher Dimech
2020-10-02 18:51 ` Christopher Dimech
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).