all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Inheriting form font-lock-comment-delimiter-face
@ 2022-02-13 18:51 goncholden via Users list for the GNU Emacs text editor
  2022-02-14 19:54 ` goncholden
  0 siblings, 1 reply; 3+ messages in thread
From: goncholden via Users list for the GNU Emacs text editor @ 2022-02-13 18:51 UTC (permalink / raw)
  To: goncholden via Users list for the GNU Emacs text editor

I want to use normal weight for comments, because by default I use bold.
I set the weight for font-lock-comment-delimiter-face to normal, then I copy to
font-lock-comment-face. Is this good way to do it?

(defun richkov-annotation-font-weight ()
"Use normal weight typeface for comments."
(set-face-attribute 'font-lock-comment-delimiter-face nil :weight 'normal)
(copy-face 'font-lock-comment-delimiter-face 'font-lock-comment-face) )

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-14 23:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-13 18:51 Inheriting form font-lock-comment-delimiter-face goncholden via Users list for the GNU Emacs text editor
2022-02-14 19:54 ` goncholden
2022-02-14 23:59   ` goncholden

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.