branch: elpa/inf-clojure
commit 4397e30c9f7c41f1197661ffe88aec71501ba560
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Fix defcustom type specs
- Add missing string type to inf-clojure-custom-startup (the docstring
documents it but the type spec didn't include it)
- Add missing node-babashka to inf-clojure-custom-repl-type choices
---
inf-clojure.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/inf-clojure.el b/inf-clojure.el
index 652e17ff92..d608c81fba 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -478,7 +478,7 @@ number (e.g. (\"localhost\" . 5555))."
Can be a cons pair of (host . port) where host is a string and
port is an integer, or a string to startup an interpreter like
\"planck\"."
- :type '(choice (cons string integer) (const nil)))
+ :type '(choice string (cons string integer) (const nil)))
(defcustom inf-clojure-custom-repl-type
nil
@@ -491,6 +491,7 @@ Should be a symbol that is a key in
`inf-clojure-repl-features'."
(const :tag "planck" planck)
(const :tag "joker" joker)
(const :tag "babashka" babashka)
+ (const :tag "node-babashka" node-babashka)
(const :tag "determine at startup" nil)))
(defvar inf-clojure-custom-repl-name nil