Browse files

modidied init.el

  • Loading branch information...
1 parent 0a98e67 commit c16317a766d66405ac5c3f94775e764e381e5d77 @tyorosan committed Jan 25, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 init.el
View
6 init.el
@@ -40,8 +40,10 @@
;; coffee-mode
(add-to-list 'load-path "~/.emacs.d/elisp")
(require 'coffee-mode)
-(add-hook 'coffee-mode-hook
- '(lambda() (coffee-custom)))
+(add-to-list 'auto-mode-alist '("\\.coffee$" . coffee-mode))
+(add-to-list 'auto-mode-alist '("Cakefile" . coffee-mode))
+(defun coffee-costom()
+ "coffee-mode-hook"
;; CoffeeScript uses two spaces.
(make-local-variable 'tab-width)

0 comments on commit c16317a

Please sign in to comment.