summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-04-27 14:21:42 -0500
committerBozhidar Batsov <bozhidar@batsov.com>2018-04-27 14:21:42 -0500
commit12735adce1bd998ba9a90f778adbef556f0b799d (patch)
tree1c4a16c736f13d97744f6cc46c0103f0855f68e3
parent670256e0fb112b9c7c2f950758266fce117e920a (diff)
Add a couple of shorthands for ClojureScript commands
-rw-r--r--cider.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/cider.el b/cider.el
index b46f6dce..2aebeed7 100644
--- a/cider.el
+++ b/cider.el
@@ -918,6 +918,8 @@ start the server."
(interactive "P")
(cider-jack-in prompt-project 'cljs-too))
+(defalias 'cider-jack-in-cljs #'cider-jack-in-clojurescript)
+
;;;###autoload
(defun cider-connect (host port &optional project-dir)
"Connect to an nREPL server identified by HOST and PORT.
@@ -955,6 +957,8 @@ the appropriate REPL type in the end."
(with-current-buffer conn
(cider-repl-set-type "cljs"))))
+(defalias 'cider-connect-cljs #'cider-connect-clojurescript)
+
(defun cider-current-host ()
"Retrieve the current host."
(if (and (stringp buffer-file-name)