Function: cider--make-sessions-list-with-hosts

cider--make-sessions-list-with-hosts is a byte-compiled function defined in cider-connection.el.

Signature

(cider--make-sessions-list-with-hosts SESSIONS)

Documentation

Makes a list of SESSIONS and their hosts.

Returns a list of the form ((session1 host1) (session2 host2) ...).

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-connection.el
(defun cider--make-sessions-list-with-hosts (sessions)
  "Makes a list of SESSIONS and their hosts.
Returns a list of the form ((session1 host1) (session2 host2) ...)."
  (mapcar (lambda (session)
            (list session (cider--get-host-from-session session)))
          sessions))