lang/clojure: move command to autoload.el

This commit is contained in:
Henrik Lissner 2018-10-16 02:09:24 -04:00
parent 794b1a94bf
commit 036a645058
2 changed files with 6 additions and 4 deletions

View file

@ -6,3 +6,9 @@
(interactive) (interactive)
(cider-jack-in) (cider-jack-in)
(current-buffer)) (current-buffer))
;;;###autoload
(defun +clojure/cider-switch-to-repl-buffer-and-switch-ns ()
"TODO"
(interactive)
(cider-switch-to-repl-buffer t))

View file

@ -9,10 +9,6 @@
("^\\*cider-repl" :quit nil :select nil) ("^\\*cider-repl" :quit nil :select nil)
("^\\*cider-repl-history" :vslot 2 :ttl nil))) ("^\\*cider-repl-history" :vslot 2 :ttl nil)))
(defun +clojure/cider-switch-to-repl-buffer-and-switch-ns ()
(interactive)
(cider-switch-to-repl-buffer t))
(def-package! cider (def-package! cider
;; NOTE: if you don't have an org directory set (the dir doesn't exist), ;; NOTE: if you don't have an org directory set (the dir doesn't exist),
;; cider jack in won't work. ;; cider jack in won't work.