From 2a386116f15adf1e3995d50d097925a6809c7dc3 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Tue, 10 Feb 2015 13:16:33 +0200 Subject: [PATCH] Use gfm-mode instead of plain markdown-mode --- core/prelude-packages.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/prelude-packages.el b/core/prelude-packages.el index 39873a5..44b44ac 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -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)))