bbatsov / projectile

Project Interaction Library for Emacs
https://docs.projectile.mx
GNU General Public License v3.0
3.99k stars 584 forks source link

Check for project-root before adding overload #1869

Closed Lunderberg closed 10 months ago

Lunderberg commented 10 months ago

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.

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):

Thanks!