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

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

Should one copy-face for inherited font-lock-comment-delimiter-face attr


From: goncholden
Subject: Should one copy-face for inherited font-lock-comment-delimiter-face attributes
Date: Wed, 16 Feb 2022 16:22:22 +0000

I am using the following function. As font-lock-comment-delimiter-face inherits 
attributes from
font-lock-comment-face, perhaps I do not need to call copy-face.

(

defun

annot-font-weight ()

"Use normal weight typeface for comments."

(

set-face-attribute

'font-lock-comment-face

nil

:weight

'normal)
  (

copy-face

'font-lock-comment-face 'font-lock-comment-delimiter-face) )

reply via email to

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