Skip to content

Commit 939928a

Browse files
committed
Convert cider-repl-content-type-handler-alist to a defvar
Seems unlikely someone would be modifying it via customize and its defcustom form it needed a :type property.
1 parent a826c1c commit 939928a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cider-repl.el

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ Handles an external-body TYPE by issuing a slurp request to fetch the content."
873873
(cider-current-connection)))
874874
nil)
875875

876-
(defcustom cider-repl-content-type-handler-alist
876+
(defvar cider-repl-content-type-handler-alist
877877
`(("message/external-body" . ,#'cider-repl-handle-external-body)
878878
("image/jpeg" . ,#'cider-repl-handle-jpeg)
879879
("image/png" . ,#'cider-repl-handle-png))
@@ -887,9 +887,7 @@ The return value of the handler should be a flag, indicating whether or not
887887
the REPL is ready for a prompt to be displayed. Most handlers should return
888888
t, as the content-type response is (currently) an alternative to the
889889
value response. However for handlers which themselves issue subsequent
890-
nREPL ops, it may be convenient to prevent inserting a prompt."
891-
:group 'cider-repl
892-
:package-version '(cider . "0.17.0"))
890+
nREPL ops, it may be convenient to prevent inserting a prompt.")
893891

894892
(defun cider-repl-handler (buffer)
895893
"Make an nREPL evaluation handler for the REPL BUFFER."

0 commit comments

Comments
 (0)