Skip to content

Commit 12735ad

Browse files
committed
Add a couple of shorthands for ClojureScript commands
1 parent 670256e commit 12735ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cider.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,8 @@ start the server."
918918
(interactive "P")
919919
(cider-jack-in prompt-project 'cljs-too))
920920

921+
(defalias 'cider-jack-in-cljs #'cider-jack-in-clojurescript)
922+
921923
;;;###autoload
922924
(defun cider-connect (host port &optional project-dir)
923925
"Connect to an nREPL server identified by HOST and PORT.
@@ -955,6 +957,8 @@ the appropriate REPL type in the end."
955957
(with-current-buffer conn
956958
(cider-repl-set-type "cljs"))))
957959

960+
(defalias 'cider-connect-cljs #'cider-connect-clojurescript)
961+
958962
(defun cider-current-host ()
959963
"Retrieve the current host."
960964
(if (and (stringp buffer-file-name)

0 commit comments

Comments
 (0)