Function: projectile--remove-current-project

projectile--remove-current-project is a byte-compiled function defined in projectile.el.

Signature

(projectile--remove-current-project PROJECTS)

Documentation

Remove the current project (if any) from the list of PROJECTS.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile--remove-current-project (projects)
  "Remove the current project (if any) from the list of PROJECTS."
  (if-let* ((project (projectile-project-root)))
      (seq-difference projects
                             (list (abbreviate-file-name project)))
    projects))