branch: elpa/inf-clojure
commit 3aa7f0209e3bcc4f5a803a069f7b6de74c0cf4ac
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Remove spurious (interactive) from inf-clojure--prompt-repl-type
    
    Private helper function should not be interactive. It's only called
    internally from inf-clojure and inf-clojure-socket-repl.
---
 inf-clojure.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/inf-clojure.el b/inf-clojure.el
index d608c81fba..d6245c44ba 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -280,8 +280,7 @@ buffers after they are created with `rename-buffer'."
     (message "Current inf-clojure REPL set to %s" new-repl-buffer)))
 
 (defun inf-clojure--prompt-repl-type ()
-  "Set the REPL type to one of the available implementations."
-  (interactive)
+  "Prompt for a REPL type and return it as a symbol."
   (let ((types (mapcar #'car inf-clojure-repl-features)))
     (intern
      (completing-read "Set REPL type: "

Reply via email to