Variable: projectile-ignored-project-function
projectile-ignored-project-function is a customizable variable defined
in projectile.el.
Value
nil
Documentation
Function to decide if a project is added to projectile-known-projects(var)/projectile-known-projects(fun).
Can be either nil, or a function that takes the truename of the project root as argument and returns non-nil if the project is to be ignored or nil otherwise.
This function is only called if the project is not listed in
the variable projectile-ignored-projects(var)/projectile-ignored-projects(fun).
A suitable candidate would be file-remote-p to ignore remote
projects.
This variable was added, or its default value changed, in projectile version 0.13.0.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-ignored-project-function nil
"Function to decide if a project is added to `projectile-known-projects'.
Can be either nil, or a function that takes the truename of the
project root as argument and returns non-nil if the project is to
be ignored or nil otherwise.
This function is only called if the project is not listed in
the variable `projectile-ignored-projects'.
A suitable candidate would be `file-remote-p' to ignore remote
projects."
:group 'projectile
:type '(choice
(const :tag "Nothing" nil)
(const :tag "Remote files" file-remote-p)
function)
:package-version '(projectile . "0.13.0"))