From da02fa8c38d52dd8ed98cc58d70c4b3e061cdc1a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 30 Mar 2019 02:17:52 -0400 Subject: [PATCH] lang/markdown: add markdown-command check --- modules/lang/markdown/doctor.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/lang/markdown/doctor.el b/modules/lang/markdown/doctor.el index 353453365..00167df56 100644 --- a/modules/lang/markdown/doctor.el +++ b/modules/lang/markdown/doctor.el @@ -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)))