Browse Source

emacs.el: Avoid error when no markdown program is found

pull/15/head
10sr 8 years ago
parent
commit
323057dcd4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el View File

@@ -966,7 +966,8 @@ IF OK-IF-ALREADY-EXISTS is true force download."
(define-key gfm-mode-map (kbd "C-m") 'electric-indent-just-newline))
(add-to-list 'auto-mode-alist (cons "\\.md\\'" 'gfm-mode))
(set-variable 'markdown-command (or (executable-find "markdown")
(executable-find "markdown.pl")))
(executable-find "markdown.pl")
""))
(add-hook 'markdown-mode-hook
(lambda ()
(outline-minor-mode 1)


Loading…
Cancel
Save