lang/clojure: fix +clojure/repl

cider-jack-in takes one argument.

Reported by @mfiano
This commit is contained in:
Henrik Lissner 2018-10-16 02:14:53 -04:00
parent 036a645058
commit cb33d96bfa

View file

@ -1,10 +1,10 @@
;;; lang/clojure/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +clojure/repl ()
(defun +clojure/repl (&optional arg)
"Open a Cider REPL and return the buffer."
(interactive)
(cider-jack-in)
(interactive "P")
(cider-jack-in arg)
(current-buffer))
;;;###autoload