Skip to content

Commit 4397e30

Browse files
committed
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
1 parent 2a6a7c0 commit 4397e30

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

inf-clojure.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ number (e.g. (\"localhost\" . 5555))."
478478
Can be a cons pair of (host . port) where host is a string and
479479
port is an integer, or a string to startup an interpreter like
480480
\"planck\"."
481-
:type '(choice (cons string integer) (const nil)))
481+
:type '(choice string (cons string integer) (const nil)))
482482

483483
(defcustom inf-clojure-custom-repl-type
484484
nil
@@ -491,6 +491,7 @@ Should be a symbol that is a key in `inf-clojure-repl-features'."
491491
(const :tag "planck" planck)
492492
(const :tag "joker" joker)
493493
(const :tag "babashka" babashka)
494+
(const :tag "node-babashka" node-babashka)
494495
(const :tag "determine at startup" nil)))
495496

496497
(defvar inf-clojure-custom-repl-name nil

0 commit comments

Comments
 (0)