Skip to content

Commit

Permalink
Inherit from pre-defined faces
Browse files Browse the repository at this point in the history
  • Loading branch information
jrblevin committed Jun 10, 2017
1 parent 6952e8b commit d2122e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions markdown-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -2236,17 +2236,17 @@ and disable it otherwise."
:group 'faces)

(defface markdown-italic-face
'((t (:inherit font-lock-variable-name-face :slant italic :weight normal)))
'((t (:inherit italic)))
"Face for italic text."
:group 'markdown-faces)

(defface markdown-bold-face
'((t (:inherit font-lock-variable-name-face :weight bold :slant normal)))
'((t (:inherit bold)))
"Face for bold text."
:group 'markdown-faces)

(defface markdown-strike-through-face
'((t (:inherit font-lock-variable-name-face :strike-through t)))
'((t (:strike-through t)))
"Face for strike-through text."
:group 'markdown-faces)

Expand Down Expand Up @@ -2301,7 +2301,7 @@ and disable it otherwise."
:group 'markdown-faces)

(defface markdown-link-face
'((t (:inherit font-lock-keyword-face)))
'((t (:inherit link)))
"Face for links."
:group 'markdown-faces)

Expand Down

0 comments on commit d2122e1

Please sign in to comment.