Function: projectile-doctor--run-action

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

Signature

(projectile-doctor--run-action BUTTON)

Documentation

Run the action BUTTON stands for, then regenerate the report.

Regenerating is the point: the finding that prompted the action should answer for itself once it has been dealt with.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-doctor--run-action (button)
  "Run the action BUTTON stands for, then regenerate the report.
Regenerating is the point: the finding that prompted the action should
answer for itself once it has been dealt with."
  (let ((action (button-get button 'projectile-action)))
    (funcall action)
    (when (derived-mode-p 'projectile-doctor-mode)
      (revert-buffer))))