2018-03-22 06:54:18 -04:00
|
|
|
;;; lang/clojure/autoload.el -*- lexical-binding: t; -*-
|
|
|
|
|
|
|
|
;;;###autoload
|
2018-10-16 02:14:53 -04:00
|
|
|
(defun +clojure/repl (&optional arg)
|
2018-03-22 06:54:18 -04:00
|
|
|
"Open a Cider REPL and return the buffer."
|
2018-10-16 02:14:53 -04:00
|
|
|
(interactive "P")
|
|
|
|
(cider-jack-in arg)
|
2018-03-22 06:54:18 -04:00
|
|
|
(current-buffer))
|
2018-10-16 02:09:24 -04:00
|
|
|
|
|
|
|
;;;###autoload
|
|
|
|
(defun +clojure/cider-switch-to-repl-buffer-and-switch-ns ()
|
|
|
|
"TODO"
|
|
|
|
(interactive)
|
|
|
|
(cider-switch-to-repl-buffer t))
|
2019-04-24 21:31:48 -04:00
|
|
|
|
|
|
|
;;;###autoload
|
|
|
|
(defun +clojure-lookup-symbol (identifier)
|
|
|
|
"A lookup handler for `cider-find-dwim'.
|
|
|
|
This is necessary to fix its inability to capture the full symbol at point."
|
|
|
|
(cider-find-dwim identifier))
|