Prior to emacs 28, the project.el package did not provide project-root. By providing an overload for project-root, any compatibility checks of (fboundp 'project-root) done by other packages will return true, even for versions that do not have project-root.
Prior to emacs 28, the
project.el
package did not provideproject-root
. By providing an overload forproject-root
, any compatibility checks of(fboundp 'project-root)
done by other packages will return true, even for versions that do not haveproject-root
.Fixes https://github.com/bbatsov/projectile/issues/1868.
Before submitting a PR make sure the following things have been done (and denote this by checking the relevant checkboxes):
eldev test
)M-x checkdoc
warningsThanks!