From c99a02fa532a88a60a97a7c56e17b1d25520ccca Mon Sep 17 00:00:00 2001 From: Patrick Elliott Date: Fri, 22 Jun 2018 13:46:56 +0200 Subject: [PATCH] added check for pandoc executable when +pandoc feature is enabled --- modules/lang/markdown/doctor.el | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 modules/lang/markdown/doctor.el diff --git a/modules/lang/markdown/doctor.el b/modules/lang/markdown/doctor.el new file mode 100644 index 000000000..8224429f9 --- /dev/null +++ b/modules/lang/markdown/doctor.el @@ -0,0 +1,6 @@ +;; -*- lexical-binding: t; no-byte-compile: t; -*- +;;; lang/markdown/doctor.el + +(when (featurep! +pandoc) + (unless (executable-find "pandoc") + (warn! "Couldn't find pandoc, markdown-mode may have issues"))