Function: cider-classpath-properties

cider-classpath-properties is a byte-compiled function defined in cider-classpath.el.

Signature

(cider-classpath-properties TEXT)

Documentation

Decorate TEXT with a clickable keymap and function face.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-classpath.el
(defun cider-classpath-properties (text)
  "Decorate TEXT with a clickable keymap and function face."
  (let ((face (cond
               ((not (file-exists-p text)) 'font-lock-warning-face)
               ((file-directory-p text) 'dired-directory)
               (t 'default))))
    (propertize text
                'font-lock-face face
                'mouse-face 'highlight
                'keymap cider-classpath-mouse-map)))