|
1 | 1 | ;;; clojure-mode.el --- Major mode for Clojure code |
2 | 2 |
|
3 | | -;; Copyright (C) 2007-2011 Jeffrey Chu, Lennart Staflin, Phil Hagelberg |
| 3 | +;; Copyright (C) 2007-2013 Jeffrey Chu, Lennart Staflin, Phil Hagelberg |
4 | 4 | ;; |
5 | 5 | ;; Authors: Jeffrey Chu <jochu0@gmail.com> |
6 | 6 | ;; Lennart Staflin <lenst@lysator.liu.se> |
|
21 | 21 |
|
22 | 22 | ;;; Installation: |
23 | 23 |
|
24 | | -;; Use package.el. You'll need to add Marmalade to your archives: |
| 24 | +;; Use package.el. You'll need to add Marmalade or MELPA to your archives: |
25 | 25 |
|
| 26 | +;; ;; Marmalade setup |
26 | 27 | ;; (require 'package) |
27 | 28 | ;; (add-to-list 'package-archives |
28 | 29 | ;; '("marmalade" . "http://marmalade-repo.org/packages/")) |
| 30 | +;; |
| 31 | +;; ;; MELPA setup |
| 32 | +;; (require 'package) |
| 33 | +;; (add-to-list 'package-archives |
| 34 | +;; '("melpa" . "http://melpa.milkbox.net/packages/") t) |
29 | 35 |
|
30 | 36 | ;; If you use a version of Emacs prior to 24 that doesn't include |
31 | 37 | ;; package.el, you can get it from http://bit.ly/pkg-el23. If you have |
|
37 | 43 | ;; byte-compilation and autoloads. |
38 | 44 |
|
39 | 45 | ;; Using clojure-mode with paredit is highly recommended. It is also |
40 | | -;; available using package.el from the above archive. |
| 46 | +;; available using package.el from the above archives. |
41 | 47 |
|
42 | 48 | ;; Use paredit as you normally would with any other mode; for instance: |
43 | 49 | ;; |
44 | 50 | ;; ;; require or autoload paredit-mode |
45 | | -;; (defun turn-on-paredit () (paredit-mode 1)) |
46 | | -;; (add-hook 'clojure-mode-hook 'turn-on-paredit) |
| 51 | +;; (add-hook 'clojure-mode-hook 'paredit-mode) |
47 | 52 |
|
48 | | -;; See Swank Clojure (http://github.com/technomancy/swank-clojure) for |
49 | | -;; better interaction with subprocesses via SLIME. |
| 53 | +;; See nREPL.el (http://github.com/kingtim/nrepl.el) for |
| 54 | +;; better interaction with subprocesses via nREPL. |
50 | 55 |
|
51 | 56 | ;;; License: |
52 | 57 |
|
|
0 commit comments