Function: cider-xref--short-name

cider-xref--short-name is a byte-compiled function defined in cider-xref-source.el.

Signature

(cider-xref--short-name VAR)

Documentation

Return the bare name of VAR, dropping any namespace or alias qualifier.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref-source.el
(defun cider-xref--short-name (var)
  "Return the bare name of VAR, dropping any namespace or alias qualifier."
  (if (string-match "/\\([^/]+\\)\\'" var)
      (match-string 1 var)
    var))