浏览代码

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

pull/15/head
10sr 8 年前
父节点
当前提交
323057dcd4
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el 查看文件

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


正在加载...
取消
保存