Permalink
Browse files

Minor Clojure/Leiningen-related tweaks

  • Loading branch information...
1 parent 8889137 commit 12002262f6ec00ada44f2d56e18a56de70056349 Michael Klishin committed Nov 30, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 bundles/clojure/init.el
View
@@ -1,14 +1,19 @@
;; a workaround for a possible Emacs 23.1 bug. MK.
(setq warning-suppress-types nil)
+;; for Leiningen to be found
+(add-to-list 'exec-path "~/bin/")
+
(require 'clojure-mode)
(require 'clojure-test-mode)
;; load bundle snippets
(yas/load-directory "~/emacsd/bundles/clojure/snippets")
(add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode))
-(add-hook 'clojure-mode-hook (lambda () (highlight-parentheses-mode +1)))
+(add-hook 'clojure-mode-hook (lambda ()
+ (highlight-parentheses-mode +1)
+ (setq buffer-save-without-query t)))
;;

0 comments on commit 1200226

Please sign in to comment.