You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-...

15 lines
728 B

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"))