Function: cider--pinned-session

cider--pinned-session is a byte-compiled function defined in cider-session.el.

Signature

(cider--pinned-session)

Documentation

Return the sesman session of the REPL the current buffer is pinned to.

Return nil when the buffer isn't pinned or the pin is stale - its REPL is dead or its session has been quit.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-session.el
(defun cider--pinned-session ()
  "Return the sesman session of the REPL the current buffer is pinned to.
Return nil when the buffer isn't pinned or the pin is stale - its REPL is
dead or its session has been quit."
  (when-let* ((repl (cider--pinned-repl)))
    (sesman-session-for-object 'CIDER repl 'no-error)))