1
0
Fork 0
mirror of https://git.sr.ht/~ryuslash/yoshi-theme synced 2025-02-07 05:25:51 +01:00

Make markdown faces work without Org loaded

If markdown mode was run without Org mode loaded the markdown header
faces would remain colorless until Org mode was loaded and markdown mode
was re-run.
This commit is contained in:
Tom Willemse 2015-11-20 10:06:05 +01:00
parent 45ed3f4739
commit 430e73dfa2
2 changed files with 12 additions and 6 deletions

View file

@ -35,6 +35,12 @@ This project adheres to [[http://semver.org][Semantic Versioning]].
** ADDED =highlight-numbers-number= face
** FIXED Make markdown header faces work without loading Org
Stop making the =markdown-header-face-*= faces inherit from the
equivalent =org-level-*= faces, this kept the markdown faces from
working if Org mode wasn't loaded.
* [[https://github.com/ryuslash/yoshi-theme/compare/v5.13.0...v6.0.0][6.0.0]] -- 2015-08-31
:PROPERTIES:
:CUSTOM_ID: release-6.0.0

View file

@ -309,12 +309,12 @@
`(makefile-space ((t (:background ,bgpink))))
;;; Markdown
`(markdown-header-face-1 ((t (:inherit org-level-1))))
`(markdown-header-face-2 ((t (:inherit org-level-2))))
`(markdown-header-face-3 ((t (:inherit org-level-3))))
`(markdown-header-face-4 ((t (:inherit org-level-4))))
`(markdown-header-face-5 ((t (:inherit org-level-5))))
`(markdown-header-face-6 ((t (:inherit org-level-6))))
`(markdown-header-face-1 ((t (:foreground ,fggreen :inherit unspecified))))
`(markdown-header-face-2 ((t (:foreground ,fgcyan :inherit unspecified))))
`(markdown-header-face-3 ((t (:foreground ,fgred :inherit unspecified))))
`(markdown-header-face-4 ((t (:foreground ,fgblue :inherit unspecified))))
`(markdown-header-face-5 ((t (:foreground ,fgyellow :inherit unspecified))))
`(markdown-header-face-6 ((t (:foreground ,fgpurple :inherit unspecified))))
;;; Message mode
`(message-header-cc ((t (:foreground ,fgdim))))