Explorar el Código

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

pull/15/head
10sr hace 9 años
padre
commit
323057dcd4
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el Ver fichero

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


Cargando…
Cancelar
Guardar