diff .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
line wrap: on
line diff
--- a/.emacs
+++ b/.emacs
@@ -24,7 +24,7 @@
 
 ; Clojure
 (require 'clojure-auto)
-(setq auto-mode-alist (cons '("\\.clj$" . clojure-mode) auto-mode-alist))
+(add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode))
 
 (require 'textmate)
 (textmate-mode)