Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor Clojure/Leiningen-related tweaks

  • Loading branch information...
commit 12002262f6ec00ada44f2d56e18a56de70056349 1 parent 8889137
Michael Klishin authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 bundles/clojure/init.el
View
7 bundles/clojure/init.el
@@ -1,6 +1,9 @@
;; 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)
@@ -8,7 +11,9 @@
(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)))
;;
Please sign in to comment.
Something went wrong with that request. Please try again.