Files
.emacs.d/languages/coffee-script.el
Jim Myhrberg c38d910344 Disable global linum-mode, and only activate it in specific modes where I want it.
This gives me more space in the Speedbar frame as it doesn't show line numbers anymore.
2011-11-15 18:01:43 +00:00

9 lines
253 B
EmacsLisp

(add-to-list 'auto-mode-alist '("\\.coffee$" . coffee-mode))
(add-to-list 'auto-mode-alist '("Cakefile" . coffee-mode))
(add-hook 'coffee-mode-hook
(lambda ()
(fci-mode)
(linum-mode t)
(setq tab-width 2)))