Function: projectile-project-tasks

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

Signature

(projectile-project-tasks &optional PROJECT-TYPE PROJECT-ROOT)

Documentation

Return the effective tasks alist for the current project.

That's the PROJECT-TYPE's :tasks table (PROJECT-TYPE defaults to the current project's type) merged with projectile-tasks, whose entries - set globally or per project via .dir-locals.el - override same-named project-type tasks, and with the tasks discovered in PROJECT-ROOT by projectile-task-providers, which lose to both.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-project-tasks (&optional project-type project-root)
  "Return the effective tasks alist for the current project.

That's the PROJECT-TYPE's `:tasks' table (PROJECT-TYPE defaults to the
current project's type) merged with `projectile-tasks', whose entries -
set globally or per project via .dir-locals.el - override same-named
project-type tasks, and with the tasks discovered in PROJECT-ROOT by
`projectile-task-providers', which lose to both."
  (let ((type-tasks (projectile-project-type-attribute
                     (or project-type (projectile-project-type)) 'tasks)))
    (projectile--merge-tasks projectile-tasks
                             type-tasks
                             (projectile-discovered-tasks project-root))))