changeset 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 cb6704a7cef2
children d6ea7c108453
files .emacs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)