Function: projectile-dashboard--index

projectile-dashboard--index is a byte-compiled function defined in projectile.el.

Signature

(projectile-dashboard--index BUTTON)

Documentation

Index the project BUTTON stands for, then refresh the dashboard.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-dashboard--index (button)
  "Index the project BUTTON stands for, then refresh the dashboard."
  (let ((root (button-get button 'projectile-root)))
    (projectile-index-project-async root)
    (projectile--message-always
     "Indexing %s - press %s to refresh when it finishes"
     root (substitute-command-keys "\\[revert-buffer]"))))