Function: projectile-doctor--finding

projectile-doctor--finding is a byte-compiled function defined in projectile.el.

Signature

(projectile-doctor--finding SEVERITY MESSAGE &optional ACTION-LABEL ACTION)

Documentation

Return a finding of SEVERITY described by MESSAGE.

SEVERITY is one of ok\=, warn\= or info\=.

ACTION, when given, is a function of no arguments that does something about the finding, and ACTION-LABEL is what to call it in the report. The report renders such a finding with a button, so the fix sits next to the diagnosis rather than in a sentence telling you what to go and type.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;; Doctor findings

(defun projectile-doctor--finding (severity message &optional action-label action)
  "Return a finding of SEVERITY described by MESSAGE.
SEVERITY is one of `ok\\=', `warn\\=' or `info\\='.

ACTION, when given, is a function of no arguments that does something
about the finding, and ACTION-LABEL is what to call it in the report.
The report renders such a finding with a button, so the fix sits next to
the diagnosis rather than in a sentence telling you what to go and type."
  (list :severity severity :message message
        :action-label action-label :action action))