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

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

typeface for keyword


From: steve-humphreys
Subject: typeface for keyword
Date: Mon, 15 Feb 2021 05:53:18 +0100

I am using the following typeface, but want to change so that
the face is the same as the typeface for keywords used in the
major mode that is loaded after opening the file (e.g. texinfo,
tex).

(defface tfcdye
  '( (default :inherit bold)
     ( ((class color) (min-colors 88) (background light))
       :foreground "#FF0000" )
     ( ((class color) (min-colors 88) (background dark))
       :foreground "#FF0000" )
     (t :inherit font-lock-builtin-face) )
  "Colour typeface for tex commands.")







reply via email to

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