markdown preview mode now respects gfs-mode

This commit is contained in:
Igor Shymko 2015-04-01 00:01:37 +03:00
parent 541b2a690a
commit 20b4788146

View File

@ -150,7 +150,9 @@
"Markdown preview mode"
:group 'markdown-preview-mode
:init-value nil
(when (not (equal major-mode 'markdown-mode))
(when (not (or
(equal major-mode 'markdown-mode)
(equal major-mode 'gfm-mode)))
(markdown-mode))
(if markdown-preview-mode
(mdpm:start)