unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Customisation for comment delimiter colour based on light or dark theme
@ 2022-02-16 23:43 fatiparty--- via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; only message in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2022-02-16 23:43 UTC (permalink / raw)
  To: Help Gnu Emacs


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") )



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-16 23:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-16 23:43 Customisation for comment delimiter colour based on light or dark theme fatiparty--- via Users list for the GNU Emacs text editor

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).