diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
| commit | 8e8120eabdd28020aa69c7a60505cce2edd20adc (patch) | |
| tree | 061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch | |
| parent | c16790af2c9b4cbc38e565d4311252193ff85484 (diff) | |
| download | baldeagleos-repo-21.1.2.tar.gz baldeagleos-repo-21.1.2.tar.xz baldeagleos-repo-21.1.2.zip | |
Updating liguros repo21.1.2
Diffstat (limited to 'app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch')
| -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")) |
