Function: projectile-known-projects

projectile-known-projects is a byte-compiled function defined in projectile.el.

Signature

(projectile-known-projects)

Documentation

Initialize the known projects.

This might potentially clean up redundant projects and discover new ones if projectile-auto-cleanup-known-projects or projectile-auto-discover are enabled.

Aliases

projectile--init-known-projects

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-known-projects ()
  "Initialize the known projects.

This might potentially clean up redundant projects and discover new ones if
`projectile-auto-cleanup-known-projects' or `projectile-auto-discover' are
enabled."
  ;; load the known projects
  (unless projectile-known-projects
    (projectile-load-known-projects))
  (when projectile-auto-cleanup-known-projects
    (projectile--cleanup-known-projects))
  (when (and projectile-auto-discover projectile-project-search-path)
    (projectile-discover-projects-in-search-path))
  ;; return the list of known projects
  projectile-known-projects)