Permalink
Browse files

Use clojure-mode for .cljs files.

  • Loading branch information...
1 parent 9370368 commit 1df78438cbadbbf09e6b251da149f914fbaa0535 @skeeto committed Jan 4, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 init.el
View
@@ -151,6 +151,8 @@
"setTimeout" "setInterval" "location")))
;; Clojure
+(add-to-list 'auto-mode-alist '("\\.cljs$" . clojure-mode))
+
(defadvice nrepl-default-err-handler (after nrepl-focus-errors activate)
"Focus the error buffer after errors, like Emacs normally does."
(select-window (get-buffer-window "*nrepl-error*")))

0 comments on commit 1df7843

Please sign in to comment.