comparison .elisp/settings/40.modes.el @ 121:8989839d4c6c

Rakefiles are ruby too.
author Augie Fackler <durin42@gmail.com>
date Thu, 02 Jul 2009 11:29:45 -0500
parents e83373ab1581
children 7fa84e297c84
comparison
equal deleted inserted replaced
120:e83373ab1581 121:8989839d4c6c
29 (af-tab-fix) 29 (af-tab-fix)
30 (local-set-key (kbd "RET") 30 (local-set-key (kbd "RET")
31 'reindent-then-newline-and-indent) 31 'reindent-then-newline-and-indent)
32 (local-set-key (kbd "C-M-f") 32 (local-set-key (kbd "C-M-f")
33 'textmate-find-in-project-type))) 33 'textmate-find-in-project-type)))
34 (add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))
34 35
35 (require 'django-html-mode) 36 (require 'django-html-mode)
36 ;; I think I probably just always want it in django mode for now 37 ;; I think I probably just always want it in django mode for now
37 (add-to-list 'auto-mode-alist '("\\.html$'" . django-html-mode)) 38 (add-to-list 'auto-mode-alist '("\\.html$'" . django-html-mode))
38 (add-to-list 'auto-mode-alist '("\\.html.erb$'" . django-html-mode)) 39 (add-to-list 'auto-mode-alist '("\\.html.erb$'" . django-html-mode))