Skip to content

Commit 63f689c

Browse files
committed
Fix a few deprecation warnings
1 parent bd30ad7 commit 63f689c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cider-interaction.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ This is controlled via `cider-interactive-eval-output-destination'."
11421142
(cider-emit-into-popup-buffer output-buffer output)
11431143
(pop-to-buffer output-buffer)))
11441144
(`repl-buffer (funcall repl-emit-function output))
1145-
(t (error "Unsupported value %s for `cider-interactive-eval-output-destination'"
1145+
(_ (error "Unsupported value %s for `cider-interactive-eval-output-destination'"
11461146
cider-interactive-eval-output-destination))))
11471147

11481148
(defun cider-emit-interactive-eval-output (output)
@@ -1845,7 +1845,7 @@ On failure, read a symbol name using PROMPT and call CALLBACK with that."
18451845
(pcase var-status
18461846
("not-found" (error "Var %s not found" sym))
18471847
("not-traceable" (error "Var %s can't be traced because it's not bound to a function" var-name))
1848-
(t (message "Var %s %s" var-name var-status)))))
1848+
(_ (message "Var %s %s" var-name var-status)))))
18491849

18501850
(defun cider-toggle-trace-var (arg)
18511851
"Toggle var tracing.
@@ -1878,7 +1878,7 @@ Defaults to the current ns. With prefix arg QUERY, prompts for a ns."
18781878
(ns-status (nrepl-dict-get trace-response "ns-status")))
18791879
(pcase ns-status
18801880
("not-found" (error "ns %s not found" ns))
1881-
(t (message "ns %s %s" ns ns-status))))))
1881+
(_ (message "ns %s %s" ns ns-status))))))
18821882

18831883
(defun cider-create-doc-buffer (symbol)
18841884
"Populates *cider-doc* with the documentation for SYMBOL."

0 commit comments

Comments
 (0)