Function: projectile-dashboard--render-recent

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

Signature

(projectile-dashboard--render-recent DATA)

Documentation

Render DATA's recently visited files.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-dashboard--render-recent (data)
  "Render DATA's recently visited files."
  (let ((root (plist-get data :root))
        (files (plist-get data :recent-files)))
    (projectile-dashboard--section "Recent files")
    (if (null files)
        (insert (if (plist-get data :frecency)
                    "Nothing visited in this project yet.\n"
                  "Frecency tracking is off (`projectile-enable-frecency').\n"))
      (dolist (entry files)
        (insert "  ")
        (projectile-dashboard--button (car entry) 'projectile-dashboard-file
                                      root 'projectile-file (car entry))
        (insert "\n")))))