Function: project-roots
project-roots is a byte-compiled function defined in project.el.gz.
This function is obsolete since 0.3.0; use project-root instead.
Signature
(project-roots PROJECT)
Documentation
Return the list containing the current project root.
The function is obsolete, all projects have one main root anyway,
and the rest should be possible to express through
project-external-roots.
Implementations
(project-roots PROJECT) in `project.el'.
Undocumented
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
(cl-defgeneric project-roots (project)
"Return the list containing the current project root.
The function is obsolete, all projects have one main root anyway,
and the rest should be possible to express through
`project-external-roots'."
;; FIXME: Can we specify project's version here?
;; FIXME: Could we make this affect cl-defmethod calls too?
(declare (obsolete project-root "0.3.0"))
(let ((project--within-roots-fallback t))
(list (project-root project))))