summaryrefslogtreecommitdiff
blob: 1ae481d6c09426c4c69e5ff0cf4a8ca5abdf7eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
dev-python/markdown2 and dev-python/markdown install their commands
as markdown2 and markdown_py, respectively.

--- markdown-mode-2.4-orig/markdown-mode.el
+++ markdown-mode-2.4/markdown-mode.el
@@ -90,7 +90,7 @@
   :group 'text
   :link '(url-link "https://jblevins.org/projects/markdown-mode/"))
 
-(defcustom markdown-command (let ((command (cl-loop for cmd in '("markdown" "pandoc")
+(defcustom markdown-command (let ((command (cl-loop for cmd in '("markdown" "pandoc" "markdown2" "markdown_py")
                                                     when (executable-find cmd)
                                                     return (file-name-nondirectory it))))
                               (or command "markdown"))