Skip to content

Commit 8235764

Browse files
committed
Fix for emacs 22, use slime from github.
1 parent 9219f13 commit 8235764

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

clojure-mode.el

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ This requires git, a JVM, ant, and an active Internet connection."
589589
clojure-src-root "): ")
590590
nil nil clojure-src-root)))
591591

592-
(mkdir src-root t)
592+
(make-directory src-root t)
593593

594594
(if (file-exists-p (concat src-root "/clojure"))
595595
(error "Clojure is already installed at %s/clojure" src-root))
@@ -598,7 +598,7 @@ This requires git, a JVM, ant, and an active Internet connection."
598598
(dolist (cmd '("git clone git://github.com/kevinoneill/clojure.git"
599599
"git clone git://github.com/kevinoneill/clojure-contrib.git"
600600
"git clone git://github.com/jochu/swank-clojure.git"
601-
"git clone --depth 2 git://git.boinkor.net/slime.git"))
601+
"git clone --depth 2 git://github.com/nablaone/slime.git"))
602602
(unless (= 0 (shell-command (format "cd %s; %s" src-root cmd)))
603603
(error "Clojure installation step failed: %s" cmd)))
604604

@@ -611,9 +611,12 @@ This requires git, a JVM, ant, and an active Internet connection."
611611
(with-output-to-temp-buffer "clojure-install-note"
612612
(princ
613613
(if (equal src-root clojure-src-root)
614-
"Add a call to \"\(clojure-slime-config\)\" to your .emacs so you can use SLIME in future sessions."
614+
"Add a call to \"\(clojure-slime-config\)\" to your .emacs so you can
615+
use SLIME in future sessions."
615616
(setq clojure-src-root src-root)
616-
(format "You've installed clojure in a non-default location. If you want to use this installation in the future, you will need to add the following lines to your personal Emacs config somewhere:
617+
(format "You've installed clojure in a non-default location. If you want
618+
to use this installation in the future, you will need to add the following
619+
lines to your personal Emacs config somewhere:
617620
618621
\(setq clojure-src-root \"%s\"\)
619622
\(clojure-slime-config\)" src-root)))

0 commit comments

Comments
 (0)