lang/markdown: add markdown-command check

This commit is contained in:
Henrik Lissner 2019-03-30 02:17:52 -04:00
parent be6efd8dbf
commit da02fa8c38
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -4,3 +4,8 @@
(when (featurep! +pandoc)
(unless (executable-find "pandoc")
(warn! "Couldn't find pandoc, markdown-mode may have issues")))
(when (require 'markdown-mode nil t)
(unless (executable-find markdown-command)
(warn! "Couldn't find %S, can't export markdown to html"
markdown-command)))