Function: cider-current-host

cider-current-host is a byte-compiled function defined in cider-endpoint.el.

Signature

(cider-current-host)

Documentation

Retrieve the current host.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-endpoint.el
;;; Endpoint selection

(defun cider-current-host ()
  "Retrieve the current host."
  (or (when (stringp buffer-file-name)
        (file-remote-p buffer-file-name 'host))
      "localhost"))