Mercurial > dotfiles
comparison .emacs @ 51:ac7a8f9a0924
Better way to handle auto-mode stuff for clojure.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Thu, 19 Feb 2009 09:18:47 -0600 |
parents | f34194cad324 |
children | d6ea7c108453 |
comparison
equal
deleted
inserted
replaced
50:cb6704a7cef2 | 51:ac7a8f9a0924 |
---|---|
22 | 22 |
23 (require 'midnight) | 23 (require 'midnight) |
24 | 24 |
25 ; Clojure | 25 ; Clojure |
26 (require 'clojure-auto) | 26 (require 'clojure-auto) |
27 (setq auto-mode-alist (cons '("\\.clj$" . clojure-mode) auto-mode-alist)) | 27 (add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode)) |
28 | 28 |
29 (require 'textmate) | 29 (require 'textmate) |
30 (textmate-mode) | 30 (textmate-mode) |
31 (textmate-also-ignore "eggs|cover|daisy|.*.pyc") | 31 (textmate-also-ignore "eggs|cover|daisy|.*.pyc") |
32 | 32 |