20 lines
565 B
EmacsLisp
20 lines
565 B
EmacsLisp
;;; lang/clojure/autoload.el -*- lexical-binding: t; -*-
|
|
|
|
;;;###autoload
|
|
(defun +clojure/repl (&optional arg)
|
|
"Open a Cider REPL and return the buffer."
|
|
(interactive "P")
|
|
(cider-jack-in arg)
|
|
(current-buffer))
|
|
|
|
;;;###autoload
|
|
(defun +clojure/cider-switch-to-repl-buffer-and-switch-ns ()
|
|
"TODO"
|
|
(interactive)
|
|
(cider-switch-to-repl-buffer t))
|
|
|
|
;;;###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))
|