Use gfm-mode instead of plain markdown-mode
This commit is contained in:
parent
e58e0bef5e
commit
2a386116f1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
;; markdown-mode doesn't have autoloads for the auto-mode-alist
|
||||||
;; so we add them manually if it's already installed
|
;; so we add them manually if it's already installed
|
||||||
(when (package-installed-p 'markdown-mode)
|
(when (package-installed-p 'markdown-mode)
|
||||||
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
|
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . gfm-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)))
|
(add-to-list 'auto-mode-alist '("\\.md\\'" . gfm-mode)))
|
||||||
|
|
||||||
(when (package-installed-p 'pkgbuild-mode)
|
(when (package-installed-p 'pkgbuild-mode)
|
||||||
(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . pkgbuild-mode)))
|
(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . pkgbuild-mode)))
|
||||||
|
|
Loading…
Reference in a new issue