summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-02-16 16:36:44 -0500
committerKyle Meyer <meyerkya@gmail.com>2013-02-16 16:36:44 -0500
commitf142a0011d11c669371608093ca5803237fadc6e (patch)
treef2bce149bd6bee3b700d3f8740bd070b57a7027c /init
parent0f817d908d2476a48c6e8d2c51ceacf74341cede (diff)
downloademacs.d-f142a0011d11c669371608093ca5803237fadc6e.tar.gz
add markdown-mode
Diffstat (limited to 'init')
-rw-r--r--init/10-km-pkg.el1
-rw-r--r--init/km-general.el5
2 files changed, 6 insertions, 0 deletions
diff --git a/init/10-km-pkg.el b/init/10-km-pkg.el
index 91c0462..1317e4c 100644
--- a/init/10-km-pkg.el
+++ b/init/10-km-pkg.el
@@ -14,6 +14,7 @@
ess
lua-mode
haskell-mode
+ markdown-mode
)
"Default packages")
diff --git a/init/km-general.el b/init/km-general.el
index 13d20dd..64e73b7 100644
--- a/init/km-general.el
+++ b/init/km-general.el
@@ -20,3 +20,8 @@
(put 'dired-find-alternate-file 'disabled nil)
;;(require 'dired+)
+
+(setq auto-mode-alist
+ (cons '("\\.md$" . markdown-mode) auto-mode-alist))
+(setq auto-mode-alist
+ (cons '("\\.markdown$" . markdown-mode) auto-mode-alist))