Browse Source

Use markdown-mode for markdown

pull/1/head
10sr 10 years ago
parent
commit
718774952d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      emacs.el

+ 1
- 0
emacs.el View File

@@ -1152,6 +1152,7 @@ found, otherwise returns nil."


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


Loading…
Cancel
Save