summaryrefslogtreecommitdiff
path: root/cider.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@tradeo.com>2013-10-21 18:25:42 +0300
committerBozhidar Batsov <bozhidar@tradeo.com>2013-10-21 18:25:42 +0300
commit64a4ce5e4f3dd1aafe1122ea9f4321e26f5e68d4 (patch)
tree14aeea5350b13dd6e1d154d95c1e16161007847b /cider.el
parent193fab70f39bc110a3e2816417e7d683407945b2 (diff)
Introduce a cider customization group
Diffstat (limited to 'cider.el')
-rw-r--r--cider.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/cider.el b/cider.el
index bf64aae1..174f61da 100644
--- a/cider.el
+++ b/cider.el
@@ -56,6 +56,11 @@
(eval-when-compile
(add-to-list 'load-path default-directory))
+(defgroup cider nil
+ "Clojure Integrated Development Environment and REPL."
+ :prefix "cider-"
+ :group 'applications)
+
(require 'nrepl-client)
(require 'cider-version)
(require 'cider-interaction)
@@ -80,8 +85,8 @@ start the server."
(when (nrepl-check-for-repl-buffer nil project-dir)
(let* ((nrepl-project-dir project-dir)
(cmd (if project
- (format "cd %s && %s" project nrepl-server-command)
- nrepl-server-command))
+ (format "cd %s && %s" project cider-server-command)
+ cider-server-command))
(process (start-process-shell-command
"nrepl-server"
(generate-new-buffer-name (nrepl-server-buffer-name))