Permalink
Browse files

Add markdown-mode

  • Loading branch information...
1 parent 3fcaf5f commit 51d088b6684d60f4f220ac84e39c03016e3e096c @nelhage committed Aug 6, 2012
Showing with 12 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +7 −0 dot-emacs
  3. +1 −0 markdown-mode
  4. +1 −0 site/markdown-mode
View
@@ -13,3 +13,6 @@
[submodule "site/emacs_chrome"]
path = site/emacs_chrome
url = git://github.com/stsquad/emacs_chrome.git
+[submodule "site/markdown-mode"]
+ path = site/markdown-mode
+ url = git://jblevins.org/git/markdown-mode.git
View
@@ -1106,6 +1106,12 @@ surrounding xml expression"
(add-to-list 'auto-mode-alist '("\\.pp$" . puppet-mode))
+;; markdown
+(autoload 'markdown-mode "markdown-mode.el"
+ "Major mode for editing Markdown files" t)
+(setq auto-mode-alist
+ (cons '("\\.md$" . markdown-mode) auto-mode-alist))
+
;;; ADD NEW LANGUAGE MODES HERE
;;;Mail
@@ -1357,6 +1363,7 @@ surrounding xml expression"
(define-key asm-mode-map (kbd "#") 'self-insert-command))
(add-to-list 'auto-mode-alist (cons "/Makefrag$" 'makefile-mode))
+(add-to-list 'auto-mode-alist (cons "^Makefile" 'makefile-mode))
(require 'w3m-load)
; (autoload 'w3m "w3m" "w3m" t t)
View
Submodule markdown-mode added at c3f865

0 comments on commit 51d088b

Please sign in to comment.