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

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

Including ":weight normal" in a defface


From: fatiparty
Subject: Including ":weight normal" in a defface
Date: Sun, 30 Jan 2022 17:24:53 +0100 (CET)

I have added :weight normal in the following defface.  Have included :weight
in the "default :inherit" part.  Perhaps this is not the way to do this.  I 
have also
seen ":weight 'normal" which is confusing me.

(defface emph-strike
  '((default :inherit (:strike-through t :weight normal))
    (((class color) (min-colors 88) (background dark))
     :foreground "#ae6029")
    (((class color) (min-colors 88) (background light))
     :foreground "#ae6029"))
  "Colour typeface for strike emphasis.")

(setq org-emphasis-alist
      '("+" emph-strike) )



reply via email to

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