summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-04-17 00:21:52 +0200
committerGravatar Tom Willemsen2011-04-17 00:22:17 +0200
commitbd983b778ec76abc4003a10f9daf4634680dfbc2 (patch)
tree1d92bf7a76abf16eef8d7833727176ade851caca
parentd1502aa2456b2dd5747eb6105ba671e9a1a3134a (diff)
downloaddotfiles-bd983b778ec76abc4003a10f9daf4634680dfbc2.tar.gz
dotfiles-bd983b778ec76abc4003a10f9daf4634680dfbc2.zip
Added markdown mode
-rw-r--r--.gitmodules3
-rw-r--r--emacs.d/00-paths.el1
-rw-r--r--emacs.d/20-markdown-mode.el4
m---------emacs.d/elisp/markdown-mode0
4 files changed, 8 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 8b16cdc..34083d4 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -10,3 +10,6 @@
[submodule "emacs.d/auto-complete-clang"]
path = emacs.d/auto-complete-clang
url = git://github.com/brianjcj/auto-complete-clang.git
+[submodule "emacs.d/elisp/markdown-mode"]
+ path = emacs.d/elisp/markdown-mode
+ url = git://jblevins.org/git/markdown-mode.git
diff --git a/emacs.d/00-paths.el b/emacs.d/00-paths.el
index e883739..c9853c2 100644
--- a/emacs.d/00-paths.el
+++ b/emacs.d/00-paths.el
@@ -1,2 +1,3 @@
(add-to-list 'load-path "~/.emacs.d/elisp")
(add-to-list 'load-path "~/.emacs.d/naquadah-theme")
+(add-to-list 'load-path "~/.emacs.d/elisp/markdown-mode")
diff --git a/emacs.d/20-markdown-mode.el b/emacs.d/20-markdown-mode.el
new file mode 100644
index 0000000..c187307
--- /dev/null
+++ b/emacs.d/20-markdown-mode.el
@@ -0,0 +1,4 @@
+(autoload 'markdown-mode "markdown-mode"
+ "Major mode for editing Markdown files" t)
+(setq auto-mode-alist
+ (cons '("\\.markdown" . markdown-mode) auto-mode-alist))
diff --git a/emacs.d/elisp/markdown-mode b/emacs.d/elisp/markdown-mode
new file mode 160000
+Subproject 16a98941f90f0ef816c3f7cc11f322806ee00cc