Skip to content

Commit

Permalink
Use gfm-mode instead of plain markdown-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov authored and Trong Dao Le committed Oct 17, 2015
1 parent 7275384 commit bd1d6b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/prelude-packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ PACKAGE is installed only if not already present. The file is opened in MODE."
;; markdown-mode doesn't have autoloads for the auto-mode-alist
;; so we add them manually if it's already installed
(when (package-installed-p 'markdown-mode)
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)))
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . gfm-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . gfm-mode)))

(when (package-installed-p 'pkgbuild-mode)
(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . pkgbuild-mode)))
Expand Down

0 comments on commit bd1d6b5

Please sign in to comment.