Function: cider--current-session-name
cider--current-session-name is a byte-compiled function defined in
cider-session.el.
Signature
(cider--current-session-name)
Documentation
Return the name of the session the current buffer resolves to, or nil.
Follow the same precedence as REPL resolution - pinned session, then
cider-default-session, then sesman's current session - so error messages
name the session evaluation would actually target, even in a buffer that is
only pinned (e.g. a dependency's source) and thus has no linked sesman
session of its own.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-session.el
(defun cider--current-session-name ()
"Return the name of the session the current buffer resolves to, or nil.
Follow the same precedence as REPL resolution - pinned session, then
`cider-default-session', then sesman's current session - so error messages
name the session evaluation would actually target, even in a buffer that is
only pinned (e.g. a dependency's source) and thus has no linked sesman
session of its own."
(car (or (cider--pinned-session)
(cider--default-session)
(sesman-current-session 'CIDER))))