summarylogtreecommitdiffstats
path: root/emacs-cider.install
diff options
context:
space:
mode:
authorAlex Whitt2017-06-03 15:39:08 -0400
committerAlex Whitt2017-06-03 15:39:08 -0400
commitcc9d65e51f4a96bc95e864015147659d2a99d522 (patch)
treebab129e6f47f51afe562aeef05423817ab51a387 /emacs-cider.install
downloadaur-cc9d65e51f4a96bc95e864015147659d2a99d522.tar.gz
Initial commit
Diffstat (limited to 'emacs-cider.install')
-rw-r--r--emacs-cider.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/emacs-cider.install b/emacs-cider.install
new file mode 100644
index 000000000000..3855d6497b51
--- /dev/null
+++ b/emacs-cider.install
@@ -0,0 +1,24 @@
+post_install () {
+
+cat << EOF
+
+==> Add this code to your .emacs file to use the mode:
+
+(require 'cider)
+
+==> Or, with use-package:
+
+(use-package cider)
+
+==> From the README:
+
+Simply open in Emacs a file belonging to your lein or boot project (like foo.clj) and type M-x cider-jack-in. This will start an nREPL server with all the project dependencies loaded in and CIDER will automatically connect to it.
+
+Alternatively you can use C-u M-x cider-jack-in to specify the name of a lein or boot project, without having to visit any file in it.
+
+EOF
+}
+
+post_upgrade () {
+ post_install $1
+}