diff --git a/layers/+lang/markdown/packages.el b/layers/+lang/markdown/packages.el index 4cd351be5..9643ae3c1 100644 --- a/layers/+lang/markdown/packages.el +++ b/layers/+lang/markdown/packages.el @@ -73,9 +73,8 @@ when (executable-find cmd) return (file-name-nondirectory it)))) command - (user-error (if markdown-executable - (format "Cannot find markdown-executable %s" markdown-executable) - "Please refer to the layer documentation and install a markdown command")))) + (when markdown-executable + (user-error (format "Cannot find markdown-executable %s" markdown-executable))))) ;; Declare prefixes and bind keys (dolist (prefix '(("mc" . "markdown/command")