Function: cider-connection-type-for-buffer

cider-connection-type-for-buffer is a function alias for cider-repl-type-for-buffer, defined in cider-session.el.

This function is obsolete since 2.0.0; use cider-repl-type-for-buffer instead.

Signature

(cider-connection-type-for-buffer &optional BUFFER)

Documentation

Return the matching REPL type (clj or cljs) for BUFFER.

BUFFER defaults to the current-buffer. In cljc buffers return multi. This function infers the REPL type based on the major mode, unless cider-repl-type-override is set. To get a REPL buffer's own type use the function cider-repl-type(var)/cider-repl-type(fun).

Aliases

cider-connection-type-for-buffer (obsolete since 2.0.0)