]> git.eshelyaron.com Git - emacs.git/commit
project.el: A project has only one main root now
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 23 May 2020 01:38:27 +0000 (04:38 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 23 May 2020 01:54:42 +0000 (04:54 +0300)
commit5044c19001fe608f2eac621add2e05cbca6c804b
tree386c9c390c0ee739fc8584b9c297505fd56c46df
parent813e42c63bcd9f285daae6737c4ae7a9adae90d7
project.el: A project has only one main root now

Practice shows that the vast majority of projects only use one main
root.  The users of this API very often make this assumption as well.
The rest of the "roots" should be possible to express through
project-external-roots.

* lisp/progmodes/project.el: Update the commentary.
Only 4 non-obsolete generics now.
(project-root): Replacement for `project-roots'.
All callers updated.  Implementations too.
(project-roots): Declare obsolete.
(project-external-roots): Simplify the docstring.
(project-ignores): Update the docstring.
(project-find-regexp): Omit the second arg to project-files.
(project--dir-ignores): Simplify.
(project-compile): Simplify, remove outdated comment.

* lisp/cedet/ede.el: Add a FIXME.
lisp/cedet/ede.el
lisp/progmodes/project.el
lisp/progmodes/xref.el