I am following the instructions on: https://github.com/technomancy/clojure-mode/blob/master/README.md
on how to setup emacs with Clojure-mode.
I am running GNU Emacs 23.3.1 in Ubuntu. Launching my Emacs fails with:
error: Package `clojure-mode' is not available for installation
The relevant section of my .emacs file is:
(if
(= emacs-major-version 23)
(load "package")
)
(progn
(require 'package)
(add-to-list 'package-archives
'("marmalade", "http://marmalade-repo.org/packages"))
(package-initialize)
)
(progn ;; Clojure mode and Paredit
(when (not (package-installed-p 'clojure-mode))
(package-install 'clojure-mode))
(if nil ;; turn Paredit off for now
(when (not (package-installed-p 'paredit))
(package-install 'paredit)
)
(progn ;; Paredit
;; (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 received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
