Skip to content
A mode for emacs that handles clojure
Emacs Lisp Clojure
Latest commit ad96b52 May 30, 2011 @technomancy technomancy Add deprecation notice.

Clojure Mode

NOTE: This repository is deprecated; see technomancy.

Provides font-lock, indentation, and navigation for the Clojure language.


It's easiest to install and keep Clojure Mode updated using package.el.

(require 'package)
(add-to-list 'package-archives
             '("marmalade" . ""))

M-x package-install clojure-mode

If you use a version of Emacs prior to 24 that doesn't include package.el, you can get it from If you have an older package.el installed from, you should upgrade in order to support installation from multiple sources.

Of course, it's possible to just place it on your load-path and require it as well if you don't mind missing out on byte-compilation and autoloads.


Using clojure-mode with paredit is highly recommended. It is also available using package.el from the above archive.

Use paredit as you normally would with any other mode; for instance:

;; (require 'paredit) if you didn't install via package.el
(defun turn-on-paredit () (paredit-mode 1))
(add-hook 'clojure-mode-hook 'turn-on-paredit)


You can use Leiningen ( for better interaction with subprocesses via SLIME.

$ wget
[place the "lein" script on your $PATH and make it executable]
$ lein plugin install swank-clojure 1.3.1

M-x clojure-jack-in # from inside a project


Copyright © 2007-2011 Jeffrey Chu, Lennart Staflin, Phil Hagelberg

Distributed under the GNU General Public License; see C-h t to view.

Something went wrong with that request. Please try again.