summaryrefslogtreecommitdiff
path: root/cider-repl.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-04-30 06:44:05 -0500
committerBozhidar Batsov <bozhidar@batsov.com>2018-04-30 06:44:05 -0500
commit939928a950228259dd8ac9c488731ff39275b762 (patch)
treecc189f1c490d3f6dc6181abc4f0210ca2c7d4288 /cider-repl.el
parenta826c1ce5c655abc3dc92031f9542c6290ef2f65 (diff)
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.
Diffstat (limited to 'cider-repl.el')
-rw-r--r--cider-repl.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/cider-repl.el b/cider-repl.el
index 2965a078..ceb482a5 100644
--- a/cider-repl.el
+++ b/cider-repl.el
@@ -873,7 +873,7 @@ Handles an external-body TYPE by issuing a slurp request to fetch the content."
(cider-current-connection)))
nil)
-(defcustom cider-repl-content-type-handler-alist
+(defvar cider-repl-content-type-handler-alist
`(("message/external-body" . ,#'cider-repl-handle-external-body)
("image/jpeg" . ,#'cider-repl-handle-jpeg)
("image/png" . ,#'cider-repl-handle-png))
@@ -887,9 +887,7 @@ The return value of the handler should be a flag, indicating whether or not
the REPL is ready for a prompt to be displayed. Most handlers should return
t, as the content-type response is (currently) an alternative to the
value response. However for handlers which themselves issue subsequent
-nREPL ops, it may be convenient to prevent inserting a prompt."
- :group 'cider-repl
- :package-version '(cider . "0.17.0"))
+nREPL ops, it may be convenient to prevent inserting a prompt.")
(defun cider-repl-handler (buffer)
"Make an nREPL evaluation handler for the REPL BUFFER."