Fix markdown-header-face inherit from nil error
commitd58718085dab45e5b8a80daa5643f94d917a383a
authorMoogen Tian <moogentian@outlook.com>
Fri, 12 May 2017 13:55:29 +0000 (12 21:55 +0800)
committerJason Blevins <jrblevin@sdf.org>
Fri, 12 May 2017 14:28:16 +0000 (12 10:28 -0400)
treeb897611ac929ae55f72aef8c687ac59e53f9f37c
parentfc96bef1c33a67241fd125f0137e13a93aed8ac5
Fix markdown-header-face inherit from nil error

When `markdown-header-scaling` is nil, the :inherit attribute value of
`markdown-header-face` will be `(nil font-lock-function-name-faces)`.
When exporting html from org-mode file which contains markdown source
block, it will lead to an "Invalid face" error.
markdown-mode.el