Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

modidied init.el

  • Loading branch information...
commit c16317a766d66405ac5c3f94775e764e381e5d77 1 parent 0a98e67
Hiroyuki Mori authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 init.el
6 init.el
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.