all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Including ":weight normal" in a defface
@ 2022-01-30 16:24 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-01-30 16:24 UTC (permalink / raw)
  To: Help Gnu Emacs


I have added :weight normal in the following defface.  Have included :weight
in the "default :inherit" part.  Perhaps this is not the way to do this.  I have also
seen ":weight 'normal" which is confusing me.

(defface emph-strike
  '((default :inherit (:strike-through t :weight normal))
    (((class color) (min-colors 88) (background dark))
     :foreground "#ae6029")
    (((class color) (min-colors 88) (background light))
     :foreground "#ae6029"))
  "Colour typeface for strike emphasis.")

(setq org-emphasis-alist
      '("+" emph-strike) )



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

only message in thread, other threads:[~2022-01-30 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-30 16:24 Including ":weight normal" in a defface fatiparty--- via Users list for the GNU Emacs text editor

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.