Variable: project-find-functions

project-find-functions is a variable defined in project.el.gz.

Value

(project-try-vc
 project-try-ede)

Documentation

Special hook to find the project containing a given directory.

Each functions on this hook is called in turn with one argument, the directory in which to look, and should return either nil to mean that it is not applicable, or a project instance. The exact form of the project instance is up to each respective function; the only practical limitation is to use values that cl-defmethod can dispatch on, like a cons cell, or a list, or a CL struct.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
(defvar project-find-functions (list #'project-try-vc)
  "Special hook to find the project containing a given directory.
Each functions on this hook is called in turn with one
argument, the directory in which to look, and should return
either nil to mean that it is not applicable, or a project instance.
The exact form of the project instance is up to each respective
function; the only practical limitation is to use values that
`cl-defmethod' can dispatch on, like a cons cell, or a list, or a
CL struct.")