diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2018-04-27 14:21:42 -0500 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2018-04-27 14:21:42 -0500 |
commit | 12735adce1bd998ba9a90f778adbef556f0b799d (patch) | |
tree | 1c4a16c736f13d97744f6cc46c0103f0855f68e3 | |
parent | 670256e0fb112b9c7c2f950758266fce117e920a (diff) |
Add a couple of shorthands for ClojureScript commands
-rw-r--r-- | cider.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |