Permalink
Browse files

Add coffee-mode.

  • Loading branch information...
1 parent 51d088b commit a953a2f42756b0405545f2fc3c26fae3f3c749da @nelhage committed Sep 8, 2012
Showing with 10 additions and 2 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 coffee-mode
  3. +4 −1 dot-emacs
  4. +1 −0 site/coffee-mode
  5. +1 −1 site/swank-js
View
@@ -16,3 +16,6 @@
[submodule "site/markdown-mode"]
path = site/markdown-mode
url = git://jblevins.org/git/markdown-mode.git
+[submodule "site/coffee-mode"]
+ path = site/coffee-mode
+ url = https://github.com/defunkt/coffee-mode.git
View
View
@@ -694,10 +694,13 @@ unable to perform symbol completion.")
(put 'js2-basic-offset 'safe-local-variable 'integerp)
-
(defun my-javascript-mode-hook ()
(require 'moz))
+(require 'coffee-mode)
+(add-to-list 'auto-mode-alist '("\\.coffee$" . coffee-mode))
+(add-to-list 'auto-mode-alist '("Cakefile" . coffee-mode))
+
;;;LaTeX
(add-hook 'latex-mode-hook 'my-latex-mode-hook)
(add-hook 'LaTeX-mode-hook 'my-latex-mode-hook)
Submodule coffee-mode added at c45c5f

0 comments on commit a953a2f

Please sign in to comment.