Function: projectile--maybe-remove-ignored

projectile--maybe-remove-ignored is a byte-compiled function defined in projectile.el.

Signature

(projectile--maybe-remove-ignored PROJECT-ROOT FILES)

Documentation

Remove PROJECT-ROOT's ignored entries from FILES, honoring the option.

A no-op when projectile-alien-honors-ignores is nil. FILES are paths relative to PROJECT-ROOT, which is bound as default-directory so the ignore configuration is read for the right project.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--maybe-remove-ignored (project-root files)
  "Remove PROJECT-ROOT's ignored entries from FILES, honoring the option.
A no-op when `projectile-alien-honors-ignores' is nil.  FILES are paths
relative to PROJECT-ROOT, which is bound as `default-directory' so the
ignore configuration is read for the right project."
  (if (not projectile-alien-honors-ignores)
      files
    (let ((default-directory project-root))
      (projectile-remove-ignored files))))