unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Should one copy-face for inherited font-lock-comment-delimiter-face attributes
@ 2022-02-16 16:22 goncholden via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; only message in thread
From: goncholden via Users list for the GNU Emacs text editor @ 2022-02-16 16:22 UTC (permalink / raw)
  To: goncholden via Users list for the GNU Emacs text editor

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

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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-16 16:22 Should one copy-face for inherited font-lock-comment-delimiter-face attributes goncholden 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).