diff options
author | Bastien Guerry <bzg@altern.org> | 2012-04-27 23:26:05 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-04-27 23:26:05 +0200 |
commit | 21e24f8f24feb1f59c21ec5dda2ce82f33da2217 (patch) | |
tree | 9456b1b2aefcea2084f6c8403c33685093275a17 | |
parent | 30986cd7c5ef99f2981bbc03ca175e7e24eceb88 (diff) | |
download | org-mode-21e24f8f24feb1f59c21ec5dda2ce82f33da2217.tar.gz |
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.
-rw-r--r-- | lisp/org-faces.el | 5 | ||||
-rw-r--r-- | lisp/org.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/org-faces.el b/lisp/org-faces.el index 1082310..12d58a5 100644 --- a/lisp/org-faces.el +++ b/lisp/org-faces.el @@ -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)) diff --git a/lisp/org.el b/lisp/org.el index 3fb2a96..ae3f44c 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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 |