diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
commit | 24fd814c326e282c4321965c31f341dad77e270d (patch) | |
tree | 033d63b33c21a3209964ab56005bb9bdd523630d /app-emacs/markdown-mode/files | |
parent | 129160ec854dca4c3fedb5bcfbcb56930371da0f (diff) |
gentoo resync : 08.01.2021
Diffstat (limited to 'app-emacs/markdown-mode/files')
-rw-r--r-- | app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch b/app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch new file mode 100644 index 000000000000..1ae481d6c094 --- /dev/null +++ b/app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch @@ -0,0 +1,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")) |