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

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

Customisation for comment delimiter colour based on light or dark theme


From: fatiparty
Subject: Customisation for comment delimiter colour based on light or dark theme
Date: Thu, 17 Feb 2022 00:43:58 +0100 (CET)

I would like to adapt the customisation for comment delimiter colour to change 
according
to light or dark background.  How is this customarily done?

(defun annot ()
  "Customisation for comments"

  (set-face-attribute 'font-lock-comment-face nil
              :weight 'normal :slant 'italic)

  (set-face-attribute 'font-lock-comment-delimiter-face nil
              :foreground "#00FF00") )



reply via email to

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