Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

wayo

  • Loading branch information...
commit 5b9ea17485d585c655ffd3eef716bcade9da3ab2 1 parent 5e94e76
Alan Dipert authored
Showing with 8 additions and 4 deletions.
  1. +2 −2 README.md
  2. +6 −2 init.el
View
4 README.md
@@ -13,7 +13,7 @@
### Install
-1. Clone this repository move it to `~/.emacs.d`
+1. Clone this repository into `~/.emacs.d`
2. Run Emacs. When you see the message "Congrats, el-get is installed and ready to serve!", restart Emacs.
3. Emacs will do stuff and then you'll see warning messages. Keep restarting Emacs until the messages go away.
4. Done!
@@ -24,7 +24,7 @@
* Install required packages:
- sudo apt-get install build-essentials texinfo libncurses5-dev autoconf automake shtool libgtk2.0-dev libtiff4-dev libgif-dev libjpeg62-dev libpng12-dev libxpm-dev libtool
+ sudo apt-get install build-essential texinfo libncurses5-dev autoconf automake shtool libgtk2.0-dev libtiff4-dev libgif-dev libjpeg62-dev libpng12-dev libxpm-dev libtool
* Clone emacs from its git mirror:
View
8 init.el
@@ -289,11 +289,15 @@ Goes backward if ARG is negative; error if CHAR not found."
(load (expand-file-name "~/quicklisp/slime-helper.el"))
(setq inferior-lisp-program "/usr/local/bin/sbcl"))
+(defcustom clj-dir "/home/alan/projects/opensource/clojure"
+ "Path to Clojure source directory."
+ :type 'string
+ :group 'cljrepl)
+
(defun cljrepl ()
"Launch a Clojure REPL."
(interactive)
- (let* ((clj-dir "/Users/alan/Projects/clojure/clojure/")
- (clj-jar (concat clj-dir "clojure.jar")))
+ (let* ((clj-jar (concat clj-dir "/clojure.jar")))
(if (file-exists-p clj-jar)
(inferior-lisp (concat "java -cp " clj-jar " clojure.main"))
(when (yes-or-no-p (concat "clojure.jar not found. Build?"))
Please sign in to comment.
Something went wrong with that request. Please try again.