Skip to content

Commit

Permalink
Put clojure-slime-config in eval-after-load in the instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Feb 4, 2009
1 parent 60daec4 commit 0cf5eeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clojure-mode.el
Expand Up @@ -611,15 +611,15 @@ This requires git, a JVM, ant, and an active Internet connection."
(with-output-to-temp-buffer "clojure-install-note"
(princ
(if (equal src-root clojure-src-root)
"Add a call to \"\(clojure-slime-config\)\" to your .emacs so you can
use SLIME in future sessions."
"Add a call to \"\(eval-after-load 'clojure-mode '\(clojure-slime-config\)\)\"
to your .emacs so you can use SLIME in future sessions."
(setq clojure-src-root src-root)
(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:
\(setq clojure-src-root \"%s\"\)
\(clojure-slime-config\)" src-root)))
\(eval-after-load 'clojure-mode '\(clojure-slime-config\)\)" src-root)))
(princ "\n\n Press M-x slime to launch Clojure."))

(clojure-slime-config))
Expand Down

0 comments on commit 0cf5eeb

Please sign in to comment.