From: Christopher Dimech <dimech@gmx.com>
To: Christopher Dimech <dimech@gmx.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Changing foreground colours for texinfo--mode
Date: Fri, 2 Oct 2020 20:51:59 +0200 [thread overview]
Message-ID: <trinity-34ab7362-9ce5-4332-8b86-1a30c1eac0bc-1601664719866@3c-app-mailcom-bs12> (raw)
In-Reply-To: <trinity-bf11b5ee-6e03-4c8d-8806-cc499ed1fa90-1601656205947@3c-app-mailcom-bs12>
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"))))
> )
>
>
>
>
>
prev parent reply other threads:[~2020-10-02 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-02 16:30 Changing foreground colours for texinfo--mode Christopher Dimech
2020-10-02 18:51 ` Christopher Dimech [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=trinity-34ab7362-9ce5-4332-8b86-1a30c1eac0bc-1601664719866@3c-app-mailcom-bs12 \
--to=dimech@gmx.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).