forked from mirrors/org-mode
org.el: New face `org-list-dt' for definition terms in list.
* org-faces.el (org-list-dt): New face. * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the face for definition terms in definition lists. Thanks to Alex Lane for suggesting this.
This commit is contained in:
parent
30986cd7c5
commit
21e24f8f24
|
@ -311,6 +311,11 @@ Note that the variable `org-tag-faces' can be used to overrule this face for
|
|||
specific tags."
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-list-dt
|
||||
'((t (:bold t)))
|
||||
"Default face for definition terms in lists."
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-todo ; font-lock-warning-face
|
||||
(org-compatible-face nil
|
||||
'((((class color) (min-colors 16) (background light)) (:foreground "Red1" :bold t))
|
||||
|
|
|
@ -5893,7 +5893,7 @@ needs to be inserted at a specific position in the font-lock sequence.")
|
|||
(0 (org-get-checkbox-statistics-face) t)))
|
||||
;; Description list items
|
||||
'("^[ \t]*[-+*][ \t]+\\(.*?[ \t]+::\\)\\([ \t]+\\|$\\)"
|
||||
1 'bold prepend)
|
||||
1 'org-list-dt prepend)
|
||||
;; ARCHIVEd headings
|
||||
(list (concat
|
||||
org-outline-regexp-bol
|
||||
|
|
Loading…
Reference in New Issue