Function: cider-browse-spec--browse-at

cider-browse-spec--browse-at is an interactive and byte-compiled function defined in cider-browse-spec.el.

Signature

(cider-browse-spec--browse-at &optional POS)

Documentation

View the definition of a spec.

Optional argument POS is the position of a spec, defaulting to point. POS may also be a button, so this function can be used a the button's action property.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-browse-spec.el
(defun cider-browse-spec--browse-at (&optional pos)
  "View the definition of a spec.

Optional argument POS is the position of a spec, defaulting to point.  POS
may also be a button, so this function can be used a the button's `action'
property."
  (interactive)
  (let ((pos (or pos (point))))
    (when-let* ((spec (button-get pos 'spec-name)))
      (cider-browse-spec--browse spec))))