Pārlūkot izejas kodu

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

pull/15/head
10sr pirms 9 gadiem
vecāks
revīzija
323057dcd4
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt