浏览代码

Use gfm-mode for .md files

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

+ 3
- 2
emacs.el 查看文件

@@ -1151,8 +1151,9 @@ found, otherwise returns nil."
(add-to-list 'auto-mode-alist (cons "\\.ol\\'" 'outline-mode))

(add-to-list 'auto-mode-alist (cons "\\.md\\'" 'outline-mode))
(when (autoload-eval-lazily 'markdown-mode)
(add-to-list 'auto-mode-alist (cons "\\.md\\'" 'markdown-mode))
(when (autoload-eval-lazily 'markdown-mode
'(markdown-mode gfm-mode))
(add-to-list 'auto-mode-alist (cons "\\.md\\'" 'gfm-mode))
(setq markdown-command (or (executable-find "markdown")
(executable-find "markdown.pl")))
(add-hook 'markdown-mode-hook


正在加载...
取消
保存