about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-02-16 23:12:02 -0600
committerCase Duckworth2022-02-16 23:12:02 -0600
commit017f1c065cff67ac58d293b2335a10665e9a94a7 (patch)
treeb4ef7e1757368a1a05842343444e31aa7dfa707e
parentCoupla typos (diff)
downloademacs-017f1c065cff67ac58d293b2335a10665e9a94a7.tar.gz
emacs-017f1c065cff67ac58d293b2335a10665e9a94a7.zip
Use better org faces
These work better with mixed italic, bold, and regular faces
-rw-r--r--lisp/+org.el18
1 files changed, 18 insertions, 0 deletions
diff --git a/lisp/+org.el b/lisp/+org.el index d5b5c10..f81d9a1 100644 --- a/lisp/+org.el +++ b/lisp/+org.el
@@ -519,5 +519,23 @@ language name.")
519 (setq last-command-event ?~) 519 (setq last-command-event ?~)
520 (call-interactively #'org-self-insert-command))) 520 (call-interactively #'org-self-insert-command)))
521 521
522;;; Better org faces
523;; see `org-emphasis-alist'
524
525(defface org-bold '((t (:weight bold)))
526 "Bold face in `org-mode' documents.")
527
528(defface org-italic '((t (:slant italic)))
529 "Italic face in `org-mode' documents.")
530
531(defface org-underline '((t (:underline t)))
532 "Underline face in `org-mode' documents.")
533
534(defface org-strikethrough '((t (:strike-through t)))
535 "Strike-through face for `org-mode' documents.")
536
537;; `org-verbatim' and `org-code' are apparently already things, so we skip them
538;; here.
539
522(provide '+org) 540(provide '+org)
523;;; +org.el ends here 541;;; +org.el ends here