From bd983b778ec76abc4003a10f9daf4634680dfbc2 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 17 Apr 2011 00:21:52 +0200 Subject: [PATCH] Added markdown mode --- .gitmodules | 3 +++ emacs.d/00-paths.el | 1 + emacs.d/20-markdown-mode.el | 4 ++++ emacs.d/elisp/markdown-mode | 1 + 4 files changed, 9 insertions(+) create mode 100644 emacs.d/20-markdown-mode.el create mode 160000 emacs.d/elisp/markdown-mode 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 index 0000000..16a9894 --- /dev/null +++ b/emacs.d/elisp/markdown-mode @@ -0,0 +1 @@ +Subproject commit 16a98941f90f0ef816c3f7cc11f322806ee00cc0