From ab806b64e1d7d5903948c0c654796659b237ad8f Mon Sep 17 00:00:00 2001 From: zengxinhui Date: Mon, 3 Apr 2017 10:54:08 -0400 Subject: [PATCH 1/2] Update README.md I'm not exactly sure how clojure or emacs works at this time. Is there a typo in 'package-refresh-contents'? --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b7aa6fda6..433c79387 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ To upgrade: 3. Run `rm -Rf .emacs.d/elpa/cider-*` 4. Open Emacs. You'll probably see some errors and your theme won't load. That's ok. -5. In Emacs, run `M-x package-refresh contents`. +5. In Emacs, run `M-x package-refresh-contents`. 6. In Emacs, run `M-x package-install cider`. 7. Close and re-open Emacs. 8. Open `.lein/profiles.clj` and remove `[cider/cider-nrepl "0.8.1"]` from it. From ebc44ca63aa7f6453f8262dcb4755fae7731ae15 Mon Sep 17 00:00:00 2001 From: zengxinhui Date: Mon, 3 Apr 2017 10:59:27 -0400 Subject: [PATCH 2/2] Update README.md seems to me the folder content needs to be moved under .emacs.d instead of the folder itself. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 433c79387..1d557c998 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ first time. 3. Download the Emacs [configuration zip file](https://github.com/flyingmachine/emacs-for-clojure/archive/book1.zip) and unzip it. Its contents should be a folder, - `emacs-for-clojure-book1`. Run `mv path/to/emacs-for-clojure-book1 + `emacs-for-clojure-book1`. Run `mv path/to/emacs-for-clojure-book1/* ~/.emacs.d`. 4. Create the file `~/.lein/profiles.clj` (Windows users, this is probably `C:\Users\your_user_name\.lein\profiles.clj`) and add this